From 1f3d1fd344b1df4f94b3fdaba6d52ddde3d73264 Mon Sep 17 00:00:00 2001 From: Liyas Thomas Date: Tue, 29 Oct 2019 16:37:56 +0530 Subject: [PATCH] :zap: Theme color fix --- layouts/default.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.