|
|
|
@ -526,6 +526,11 @@ new Vue({ |
|
|
|
let res = await this.$axios.get('/settings'); |
|
|
|
this.settings = res.data; |
|
|
|
this.$vuetify.theme.themes.dark.primary = this.settings.primaryColor; |
|
|
|
this.$vuetify.theme.themes.light.primary = this.settings.primaryColor; |
|
|
|
if (this.settings.lightTheme) { |
|
|
|
this.$vuetify.theme.dark = false; |
|
|
|
this.$vuetify.theme.light = true; |
|
|
|
} |
|
|
|
i18n.locale = this.settings.language; |
|
|
|
this.volume = this.settings.volume; |
|
|
|
|
|
|
|
|