Fixed search in magisk hide not being case insensitive
This commit is contained in:
parent
683450f9c6
commit
3f748b4d2a
@ -84,7 +84,10 @@ class HideViewModel(
|
||||
allItems.toSingle()
|
||||
.map { it.filterIsInstance<HideRvItem>() }
|
||||
.flattenAsFlowable { it }
|
||||
.filter { it.item.name.contains(query) || it.item.processes.any { it.contains(query) } }
|
||||
.filter {
|
||||
it.item.name.contains(query, ignoreCase = true) ||
|
||||
it.item.processes.any { it.contains(query, ignoreCase = true) }
|
||||
}
|
||||
.filter { if (showSystem) true else it.item.info.flags and ApplicationInfo.FLAG_SYSTEM == 0 }
|
||||
.toList()
|
||||
.subscribeK { items.update(it) }
|
||||
|
Loading…
x
Reference in New Issue
Block a user