Theme color fix

This commit is contained in:
Liyas Thomas
2019-10-29 16:37:56 +05:30
parent 1250a46274
commit 1f3d1fd344

View File

@@ -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.