diff --git a/layouts/default.vue b/layouts/default.vue index 6218ae256..b97d57d71 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -223,7 +223,6 @@ "--act-color", vibrant ? "rgb(37, 38, 40)" : "#ffffff" ); - document.querySelector('meta[name=theme-color]').setAttribute('content', this.$store.state.postwoman.settings.THEME_TAB_COLOR || "#252628") })(); }, @@ -231,6 +230,7 @@ if (process.client) { document.body.classList.add("afterLoad"); } + document.querySelector('meta[name=theme-color]').setAttribute('content', this.$store.state.postwoman.settings.THEME_TAB_COLOR || "#252628"); // Initializes the PWA code - checks if the app is installed, // etc.