Эх сурвалжийг харах

Fix extension setting isn't accesiable when it has update (#7537)

Closes #7516
AntsyLich 2 жил өмнө
parent
commit
83e193f1ab

+ 1 - 7
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 }
                             }
                         },