mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-08 21:08:43 +02:00
Android & iOS only open most recent session on first load
This commit is contained in:
@@ -15,6 +15,7 @@ export const state = () => ({
|
||||
networkConnectionType: null,
|
||||
isNetworkUnmetered: true,
|
||||
isFirstLoad: true,
|
||||
isFirstAudioLoad: true,
|
||||
hasStoragePermission: false,
|
||||
selectedLibraryItem: null,
|
||||
showReader: false,
|
||||
@@ -120,6 +121,9 @@ export const mutations = {
|
||||
setIsFirstLoad(state, val) {
|
||||
state.isFirstLoad = val
|
||||
},
|
||||
setIsFirstAudioLoad(state, val) {
|
||||
state.isFirstAudioLoad = val
|
||||
},
|
||||
setSocketConnected(state, val) {
|
||||
state.socketConnected = val
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user