pull/32/head
kunfei 5 years ago
parent 31737fa4f6
commit 193939d1ec
  1. 8
      app/src/main/java/io/legado/app/help/ReadBookConfig.kt

@ -131,6 +131,14 @@ object ReadBookConfig {
}
}
fun setStatusIconDark(isDark: Boolean) {
if (App.INSTANCE.isNightTheme) {
darkStatusIconNight = isDark
} else {
darkStatusIcon = isDark
}
}
fun textColor(): Int {
return if (App.INSTANCE.isNightTheme) Color.parseColor(textColorNight)
else Color.parseColor(textColor)

Loading…
Cancel
Save