mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-20 05:59:17 +01:00
Fix extension updates showing up in installed list
This commit is contained in:
parent
050213a4a3
commit
f2ad4725d8
@ -154,7 +154,7 @@ class ExtensionBottomPresenter(
|
|||||||
|
|
||||||
val updatesSorted = installed.filter { it.hasUpdate && (showNsfwExtensions || !it.isNsfw) }.sortedBy { it.pkgName }
|
val updatesSorted = installed.filter { it.hasUpdate && (showNsfwExtensions || !it.isNsfw) }.sortedBy { it.pkgName }
|
||||||
val installedSorted = installed
|
val installedSorted = installed
|
||||||
.filter { !it.hasUpdate && showNsfwExtensions || !it.isNsfw }
|
.filter { !it.hasUpdate && (showNsfwExtensions || !it.isNsfw) }
|
||||||
.sortedWith(compareBy({ !it.isObsolete }, { it.pkgName }))
|
.sortedWith(compareBy({ !it.isObsolete }, { it.pkgName }))
|
||||||
val untrustedSorted = untrusted.sortedBy { it.pkgName }
|
val untrustedSorted = untrusted.sortedBy { it.pkgName }
|
||||||
val availableSorted = available
|
val availableSorted = available
|
||||||
|
Loading…
Reference in New Issue
Block a user