mirror of https://github.com/VueTubeApp/VueTube
bug fixes for issue #8 // new stable build
This commit is contained in:
parent
a9c5a2f8c5
commit
a6e6d5b85a
|
@ -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}) => {
|
||||
|
|
Loading…
Reference in New Issue