Skip to content

Commit

Permalink
Fixed all flags list crash
Browse files Browse the repository at this point in the history
  • Loading branch information
AkosPaha01 authored Oct 10, 2024
2 parents 5194afa + 4416651 commit 4c94242
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ class Flags(val activity: Activity, private val args: SafeJSON) : AbstractPrefer
filter,
true
)) && onlyDisabled.let { b -> if (b) it.value is Boolean && it.value == false else true }
}.forEach { entry ->
}.filter {it.key.isNotEmpty()}.forEach { entry ->
prefs.edit { remove(entry.key) }
if (entry.value is Boolean) builder.switch(entry.key) {
title = entry.key.split("_").joinToString(" ") {
Expand Down

0 comments on commit 4c94242

Please sign in to comment.