瀏覽代碼

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

Closes #7516
AntsyLich 2 年之前
父節點
當前提交
83e193f1ab
共有 1 個文件被更改,包括 1 次插入7 次删除
  1. 1 7
      app/src/main/java/eu/kanade/presentation/browse/ExtensionsScreen.kt

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