0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2024-11-25 12:45:17 +00:00

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

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) =>