fix: 🚑 Fix Theme Loader

The theme loader was resetting on app start; fixed.

fixed #308
This commit is contained in:
Kenny 2022-06-15 15:43:54 -04:00
parent 89243e5b60
commit c9275571c5
1 changed files with 2 additions and 2 deletions

View File

@ -25,12 +25,12 @@ export default {
this.$store.commit("tweaks/initTweaks");
await this.theming;
await this.theming();
await this.$youtube.getAPI();
await this.$vuetube.launchBackHandling();
this.progressMsg = this.$lang("index").launching;
this.$router.replace(`/${localStorage.getItem("startPage") || "home"}`); // Prevent user from navigating back to the splash screen
this.$router.replace('/'+ localStorage.getItem("startPage") || "home"); // Prevent user from navigating back to the splash screen
},
methods: {
theming() { return new Promise((resolve) =>