This commit is contained in:
Horis committed 2025-02-20 19:41:04 +08:00
1 parent e16ecb746c
commit 6535ce73e0
10 files changed
+27 -43

No files matched your search

@@ -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
}
}