Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 59443520 authored by tibbi's avatar tibbi
Browse files

let return the default theme in case of some issue

parent 77c99a8e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -194,5 +194,5 @@ fun Activity.getThemeId(color: Int = baseConfig.primaryColor) = when (color) {
    -13154481 -> R.style.AppTheme_Blue_Grey_800
    -14273992 -> R.style.AppTheme_Blue_Grey_900

    else -> throw RuntimeException("Unknown theme id $color")
    else -> R.style.AppTheme_Orange_700
}