mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-28 14:17:19 +02:00
Fix:iOS offline reading and initialization
This commit is contained in:
+1
-1
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user