Browse Source

spaces

pull/3655/head
PavelBARABANOV 6 days ago
parent
commit
549596add6
  1. 4
      src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/ThemeHelper.kt

4
src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/ThemeHelper.kt

@ -51,7 +51,7 @@ object ThemeHelper {
} }
} }
private fun getSelectedStaticThemeColor(): Int {
private fun getSelectedStaticThemeColor(): Int {
val themeIndex = IntSetting.STATIC_THEME_COLOR.getInt(false) val themeIndex = IntSetting.STATIC_THEME_COLOR.getInt(false)
val themes = arrayOf( val themes = arrayOf(
R.style.Theme_Eden_Main, R.style.Theme_Eden_Main,
@ -66,7 +66,7 @@ private fun getSelectedStaticThemeColor(): Int {
R.style.Theme_Yuzu_Main_Gray R.style.Theme_Yuzu_Main_Gray
) )
return themes[themeIndex] return themes[themeIndex]
}
}
@ColorInt @ColorInt
fun getColorWithOpacity(@ColorInt color: Int, alphaFactor: Float): Int { fun getColorWithOpacity(@ColorInt color: Int, alphaFactor: Float): Int {

Loading…
Cancel
Save