mirror of
https://git.mihon.tech/mihonapp/mihon
synced 2024-11-23 13:45:43 +03:00
Fix extension setting isn't accesiable when it has update (#7537)
Closes #7516
This commit is contained in:
parent
bdbe1c4d0f
commit
83e193f1ab
1 changed files with 1 additions and 7 deletions
|
@ -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 }
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue