From 9553c2b9297d815dbcfa7362cfe61989ba25a802 Mon Sep 17 00:00:00 2001 From: Mehedi Hasan Date: Tue, 6 Aug 2024 16:22:45 +0600 Subject: [PATCH] Quality changes --- .../lumolight/ui/screen/setting/AppearanceScreen.kt | 4 ++-- .../main/java/com/bitmavrick/lumolight/util/CommonValues.kt | 2 +- app/src/main/res/values/strings.xml | 3 +++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/com/bitmavrick/lumolight/ui/screen/setting/AppearanceScreen.kt b/app/src/main/java/com/bitmavrick/lumolight/ui/screen/setting/AppearanceScreen.kt index 918d834..3c3a0ca 100644 --- a/app/src/main/java/com/bitmavrick/lumolight/ui/screen/setting/AppearanceScreen.kt +++ b/app/src/main/java/com/bitmavrick/lumolight/ui/screen/setting/AppearanceScreen.kt @@ -187,8 +187,8 @@ fun AppearanceScreen( item { SettingsItem( - title = "OLED dark", - subTitle = "Enable pure black background", + title = context.getString(R.string.oled_dark_title), + subTitle = context.getString(R.string.oled_dark_description), leadingIcon = Icons.Outlined.SettingsBrightness, showSwitch = true, switchChecked = settingUiState.oledTheme, diff --git a/app/src/main/java/com/bitmavrick/lumolight/util/CommonValues.kt b/app/src/main/java/com/bitmavrick/lumolight/util/CommonValues.kt index 540242b..8cac128 100644 --- a/app/src/main/java/com/bitmavrick/lumolight/util/CommonValues.kt +++ b/app/src/main/java/com/bitmavrick/lumolight/util/CommonValues.kt @@ -5,7 +5,7 @@ package com.bitmavrick.lumolight.util class AppConstants{ companion object { - val APP_PRODUCTION_MODE = ProductionMode.DEBUG // Change to Release before release + val APP_PRODUCTION_MODE = ProductionMode.RELEASE // Change to Release before release const val APP_NAME = "Lumolight" const val DEVELOPER = "BitMavrick" const val REPOSITORY = "https://github.com/BitMavrick/Lumolight" diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 77d19b9..ec28b52 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -44,6 +44,9 @@ Dynamic color Color based on your wallpaper accent + OLED dark + Enable pure dark background when dark mode enabled + App name Version Package type