修复自动深浅色模式

This commit is contained in:
HapeLee committed 2025-06-18 13:41:35 +08:00
1 parent 372327b605
commit cd4caed170
9 files changed
+50 -58

No files matched your search

@@ -342,12 +342,10 @@ class MainActivity : VMBaseActivity<ActivityMainBinding, MainViewModel>(),
}
override fun observeLiveBus() {
super.observeLiveBus()
viewModel.onUpBooksLiveData.observe(this) {
onUpBooksBadgeView.setBadgeCount(it)
}
observeEvent<String>(EventBus.RECREATE) {
recreate()
}
observeEvent<Boolean>(EventBus.NOTIFY_MAIN) {
binding.apply {
upBottomMenu()