pull/32/head
kunfei 5 years ago
parent 0bed92879d
commit 19605699f8
  1. 2
      app/src/main/java/io/legado/app/lib/theme/TintHelper.kt

@ -127,7 +127,7 @@ object TintHelper {
view: View, @ColorInt color: Int,
isBackground: Boolean
) {
setTintAuto(view, color, isBackground, ATHUtils.isWindowBackgroundDark(view.context))
setTintAuto(view, color, isBackground, view.context.isDarkTheme)
}
fun setTintAuto(

Loading…
Cancel
Save