diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 9cf5e50..c682bcc 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -17,7 +17,7 @@ android { applicationId = "cz.c3c.webviewkiosk" minSdk = 26 // Sony KD-65XE9305 final firmware = Android 8.0 targetSdk = 35 - versionCode = 2 // bump on every release; adb install -r refuses downgrades + versionCode = 3 // bump on every release; adb install -r refuses downgrades versionName = "0.1.0" } @@ -50,7 +50,7 @@ android { dimension = "webview" applicationIdSuffix = ".$name" buildConfigField("String", "WEBVIEW_URL", "\"${config["url"]}\"") - resValue("string", "app_name", "C3C ${config["label"] ?: name}") + resValue("string", "app_name", "${config["ui_label"] ?: config["label"] ?: name}") } } } diff --git a/webviews.yaml b/webviews.yaml index 4e9681f..58070f8 100644 --- a/webviews.yaml +++ b/webviews.yaml @@ -1,7 +1,8 @@ weather: url: https://grafana.c3c.cz/public-dashboards/381fe3e71e164eb99dd0b10e246a36e2 - label: Weather + ui_label: Počasí house_condition: url: https://grafana.c3c.cz/public-dashboards/7d94ddc4493741debf49d0a301e1a757 - label: House Condition + ui_label: Stav domu +