mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-09 19:25:10 +01:00
Fix main activity binding crash
This commit is contained in:
parent
f11740f6a5
commit
e93627c9ec
@ -534,8 +534,10 @@ open class MainActivity : BaseActivity<MainActivityBinding>(), DownloadServiceLi
|
||||
override fun onDestroy() {
|
||||
super.onDestroy()
|
||||
DownloadService.removeListener(this)
|
||||
if (isBindingInitialized) {
|
||||
binding.toolbar.setNavigationOnClickListener(null)
|
||||
}
|
||||
}
|
||||
|
||||
override fun onBackPressed() {
|
||||
val sheetController = router.backstack.last().controller() as? BottomSheetController
|
||||
|
Loading…
Reference in New Issue
Block a user