mirror of
https://github.com/Suwayomi/TachideskJUI.git
synced 2025-12-17 10:12:03 +01:00
Dont show installed section if nothing is there
This commit is contained in:
@@ -133,7 +133,7 @@ class ExtensionsMenuViewModel @Inject constructor(
|
||||
|
||||
return mapOf(
|
||||
resources.getStringA("installed") to (obsolete + updates + installed),
|
||||
) + available.groupBy { it.lang }.mapKeys {
|
||||
).filterNot { it.value.isEmpty() } + available.groupBy { it.lang }.mapKeys {
|
||||
if (it.key == "all") {
|
||||
resources.getStringA("all")
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user