mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-08-31 07:09:53 +02:00
Fix:iOS offline reading and initialization
This commit is contained in:
parent
147f89f870
commit
48342e5bd3
6 changed files with 19 additions and 12 deletions
|
@ -370,7 +370,7 @@ export default {
|
|||
this.saveSettings()
|
||||
},
|
||||
getCurrentOrientation() {
|
||||
const orientation = window.screen ? window.screen.orientation || {} : {}
|
||||
const orientation = window.screen?.orientation || {}
|
||||
const type = orientation.type || ''
|
||||
|
||||
if (type.includes('landscape')) return 'LANDSCAPE'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue