mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-07 20:31:02 -05:00
parent
2db2b7348d
commit
800583b5e2
1 changed files with 3 additions and 3 deletions
|
@ -242,10 +242,10 @@ class SettingsLibraryController : SettingsController() {
|
|||
.sortedBy { it.order }
|
||||
|
||||
val includedItemsText = if (includedCategories.isEmpty()) {
|
||||
if (excludedCategories.size == allCategories.size) context.getString(R.string.none)
|
||||
else context.getString(R.string.all)
|
||||
context.getString(R.string.none)
|
||||
} else {
|
||||
includedCategories.joinToString { it.name }
|
||||
if (includedCategories.size == allCategories.size) context.getString(R.string.all)
|
||||
else includedCategories.joinToString { it.name }
|
||||
}
|
||||
|
||||
val excludedItemsText = if (excludedCategories.isEmpty()) {
|
||||
|
|
Loading…
Reference in a new issue