This commit is contained in:
Horis
2025-02-20 19:41:04 +08:00
parent e16ecb746c
commit 6535ce73e0
10 changed files with 27 additions and 43 deletions
@@ -83,14 +83,14 @@ class MangaFooterSettingDialog : BaseDialogFragment(R.layout.dialog_manga_footer
postEvent(EventBus.UP_MANGA_CONFIG, config)
}
binding.rgFooter.check(if (config.hideFooter) R.id.rb_disable else R.id.rb_enable)
binding.rgFooter.check(if (config.hideFooter) R.id.rb_hide else R.id.rb_show)
binding.rgFooter.setOnCheckedChangeListener { _, checkedId ->
when (checkedId) {
R.id.rb_enable -> {
R.id.rb_show -> {
config.hideFooter = false
}
R.id.rb_disable -> {
R.id.rb_hide -> {
config.hideFooter = true
}
}