diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt index a4ac7feeeb..6a720a2fac 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt @@ -534,7 +534,9 @@ open class MainActivity : BaseActivity(), DownloadServiceLi override fun onDestroy() { super.onDestroy() DownloadService.removeListener(this) - binding.toolbar.setNavigationOnClickListener(null) + if (isBindingInitialized) { + binding.toolbar.setNavigationOnClickListener(null) + } } override fun onBackPressed() {