From 83e193f1ab2798936aba59482ecab67600574583 Mon Sep 17 00:00:00 2001 From: AntsyLich <59261191+AntsyLich@users.noreply.github.com> Date: Sat, 16 Jul 2022 00:44:59 +0600 Subject: [PATCH] Fix extension setting isn't accesiable when it has update (#7537) Closes #7516 --- .../eu/kanade/presentation/browse/ExtensionsScreen.kt | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/app/src/main/java/eu/kanade/presentation/browse/ExtensionsScreen.kt b/app/src/main/java/eu/kanade/presentation/browse/ExtensionsScreen.kt index 143d81f3b..73a3425c5 100644 --- a/app/src/main/java/eu/kanade/presentation/browse/ExtensionsScreen.kt +++ b/app/src/main/java/eu/kanade/presentation/browse/ExtensionsScreen.kt @@ -168,13 +168,7 @@ fun ExtensionContent( onClickItem = { when (it) { is Extension.Available -> onInstallExtension(it) - is Extension.Installed -> { - if (it.hasUpdate) { - onUpdateExtension(it) - } else { - onOpenExtension(it) - } - } + is Extension.Installed -> onOpenExtension(it) is Extension.Untrusted -> { trustState = it } } },