|
|
@ -24,7 +24,6 @@ import io.legado.app.lib.dialogs.selector |
|
|
|
import io.legado.app.lib.theme.ATH |
|
|
|
import io.legado.app.lib.theme.ATH |
|
|
|
import io.legado.app.lib.theme.ThemeStore |
|
|
|
import io.legado.app.lib.theme.ThemeStore |
|
|
|
import io.legado.app.lib.theme.backgroundColor |
|
|
|
import io.legado.app.lib.theme.backgroundColor |
|
|
|
import io.legado.app.lib.theme.bottomBackground |
|
|
|
|
|
|
|
import io.legado.app.service.help.CacheBook |
|
|
|
import io.legado.app.service.help.CacheBook |
|
|
|
import io.legado.app.service.help.ReadBook |
|
|
|
import io.legado.app.service.help.ReadBook |
|
|
|
import io.legado.app.ui.book.read.config.BgTextConfigDialog |
|
|
|
import io.legado.app.ui.book.read.config.BgTextConfigDialog |
|
|
@ -144,8 +143,8 @@ abstract class ReadBookBaseActivity : |
|
|
|
|
|
|
|
|
|
|
|
override fun upNavigationBarColor() { |
|
|
|
override fun upNavigationBarColor() { |
|
|
|
when { |
|
|
|
when { |
|
|
|
binding.readMenu.isVisible -> ATH.setNavigationBarColorAuto(this) |
|
|
|
binding.readMenu.isVisible -> super.upNavigationBarColor() |
|
|
|
bottomDialog > 0 -> ATH.setNavigationBarColorAuto(this, bottomBackground) |
|
|
|
bottomDialog > 0 -> super.upNavigationBarColor() |
|
|
|
else -> if (AppConfig.isTransparentStatusBar) { |
|
|
|
else -> if (AppConfig.isTransparentStatusBar) { |
|
|
|
ATH.setNavigationBarColorAuto(this, Color.TRANSPARENT) |
|
|
|
ATH.setNavigationBarColorAuto(this, Color.TRANSPARENT) |
|
|
|
} else { |
|
|
|
} else { |
|
|
|