let return the default theme in case of some issue
This commit is contained in:
parent
77c99a8e87
commit
5944352001
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue