Android & iOS only open most recent session on first load

This commit is contained in:
advplyr
2023-02-17 17:14:49 -06:00
parent aab44d8cee
commit d899fd4d89
3 changed files with 23 additions and 6 deletions
+4
View File
@@ -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
},