From 441e7bf8b13d320b39a03d998d76fd5096ac9e60 Mon Sep 17 00:00:00 2001 From: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com> Date: Fri, 12 Aug 2022 23:20:39 +0700 Subject: [PATCH] MainActivity: Fix crash on back pressed (#7731) --- app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt | 1 - 1 file changed, 1 deletion(-) 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 e4a28a822..88af188f4 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 @@ -491,7 +491,6 @@ class MainActivity : BaseActivity() { if (backstackSize == 1 && startScreen == null) { // Return to start screen moveToStartScreen() - setSelectedNavItem(startScreenId) } else if (startScreen != null && router.handleBack()) { // Clear selection for Library screen } else if (shouldHandleExitConfirmation()) {