diff --git a/app/src/main/java/com/vanced/manager/ui/core/BaseActivity.kt b/app/src/main/java/com/vanced/manager/ui/core/BaseActivity.kt index d0928d1f..cb0e7017 100644 --- a/app/src/main/java/com/vanced/manager/ui/core/BaseActivity.kt +++ b/app/src/main/java/com/vanced/manager/ui/core/BaseActivity.kt @@ -66,7 +66,6 @@ open class ThemeActivity : AppCompatActivity() { Configuration.UI_MODE_NIGHT_NO -> setLightAccent(currentAccent) } } - "TRANS" -> setTransAccent(currentAccent) else -> setLightAccent("Blue") } } @@ -89,15 +88,6 @@ open class ThemeActivity : AppCompatActivity() { } } - private fun setTransAccent(accentColor: String) { - when (accentColor) { - "Blue" -> setTheme(R.style.TransparentTheme_Blue) - "Red" -> setTheme(R.style.TransparentTheme_Red) - "Green" -> setTheme(R.style.TransparentTheme_Green) - "Yellow" -> setTheme(R.style.TransparentTheme_Yellow) - } - } - private fun setTaskBG() { val label = getString(R.string.app_name) val color = ResourcesCompat.getColor(resources, R.color.Black, null) diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml index 1812785a..9215dc43 100644 --- a/app/src/main/res/values/arrays.xml +++ b/app/src/main/res/values/arrays.xml @@ -5,14 +5,12 @@ @string/theme_light @string/theme_dark @string/theme_follow - Transparent LIGHT DARK FOLLOW - TRANS diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index a1d5d67e..8bed069a 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -1,68 +1,11 @@ - - - - - - - - - + \ No newline at end of file