Fix tint color setting

This commit is contained in:
foxster-mp4
2023-05-01 09:01:06 -07:00
parent 245c743e97
commit 01eeaeaa6a
2 changed files with 3 additions and 2 deletions

View File

@@ -15,7 +15,8 @@ fetch(sourceURL, {
.then(response => response.json())
.then(json => {
// Set tint color
if (json.tintColor) setTintColor(json.tintColor);
const tintColor = json.tintColor?.replaceAll("#", "");
if (tintColor) setTintColor(tintColor);
setApps(json.apps);
main(json);