diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index 095199c..4b4c4c7 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -10,8 +10,8 @@ android { applicationId = "web.bmdominatezz.gravy" minSdk = 21 targetSdk = 34 - versionCode = 40 - versionName = "0.4.0-beta.4" + versionCode = 42 + versionName = "0.4.2-beta.4" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" } diff --git a/src/apps/groove.internal.settings/pages/00_home+theme.js b/src/apps/groove.internal.settings/pages/00_home+theme.js index df98ca6..34f352a 100644 --- a/src/apps/groove.internal.settings/pages/00_home+theme.js +++ b/src/apps/groove.internal.settings/pages/00_home+theme.js @@ -34,6 +34,8 @@ document.querySelectorAll("div.accent-color-catalogue-item").forEach(e => e.addE }, 500); appViewEvents.setAccentColor(grooveColors[e.target.style.background.slice(18).slice(0, -1)]) document.querySelector("div.color-picker > div.picker-option").innerText = e.target.style.background.slice(18).slice(0, -1) + document.querySelector("#home-tab > div:nth-child(1) > div > div:nth-child(1) > p.groove-list-view-item-description").innerText = e.target.style.background.slice(18).slice(0, -1) + })) document.getElementById("choose-wallpaper").querySelector("input").addEventListener('change', (event) => { @@ -112,3 +114,8 @@ setTimeout(() => { } }, 500); + +if (!!localStorage['accentColor']) { + const colorName = Object.keys(grooveColors).find(key => grooveColors[key] == localStorage['accentColor']) || "custom color"; + document.querySelector("#home-tab > div:nth-child(1) > div > div:nth-child(1) > p.groove-list-view-item-description").innerText = colorName +} \ No newline at end of file diff --git a/src/scripts/grooveMock.js b/src/scripts/grooveMock.js index e2bd4d5..6393cad 100644 --- a/src/scripts/grooveMock.js +++ b/src/scripts/grooveMock.js @@ -71,7 +71,7 @@ class GrooveMock { window.open(url, "_blank") } getAppVersion() { - return "web-test" + return "0.4.2-beta.4" } getWebViewVersion() { return "chrome" diff --git a/www/welcome.html b/www/welcome.html index 958af4e..8f97063 100644 --- a/www/welcome.html +++ b/www/welcome.html @@ -167,16 +167,8 @@

What's New?