mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-15 06:40:30 +05:30
fix default theme color
This commit is contained in:
parent
19a46a19c0
commit
9320ddf57f
@ -17,7 +17,7 @@ object ThemeHelper {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun updateAccentColor(context: Context) {
|
private fun updateAccentColor(context: Context) {
|
||||||
when (PreferenceHelper.getString(context, "accent_color", "red")) {
|
when (PreferenceHelper.getString(context, "accent_color", "purple")) {
|
||||||
"my" -> context.setTheme(R.style.Theme_MY)
|
"my" -> context.setTheme(R.style.Theme_MY)
|
||||||
"red" -> context.setTheme(R.style.Theme_Red)
|
"red" -> context.setTheme(R.style.Theme_Red)
|
||||||
"blue" -> context.setTheme(R.style.Theme_Blue)
|
"blue" -> context.setTheme(R.style.Theme_Blue)
|
||||||
|
Loading…
Reference in New Issue
Block a user