bug fixes for issue #8 // new stable build

This commit is contained in:
Front 2022-03-15 16:11:57 -04:00
parent a9c5a2f8c5
commit a6e6d5b85a
1 changed files with 4 additions and 4 deletions

View File

@ -107,14 +107,14 @@ export default {
//--- Load Saved Theme ---//
setTimeout(() => {
const theme = Boolean(localStorage.getItem('darkTheme'));
if (theme != undefined) {
const darkTheme = localStorage.getItem('darkTheme');
if (darkTheme == "true") {
this.$vuetify.theme.dark = darkTheme;
this.$vuetify.theme.themes.dark.accent = '#222',
this.$vuetify.theme.themes.dark.accent2 = '#222',
this.$vuetify.theme.themes.dark.background = '#333'
this.$vuetify.theme.dark = theme;
}
}, 1000);
}, 200);
//--- Back Button Listener ---//
CapacitorApp.addListener('backButton', ({canGoBack}) => {