Commit 3f748b4d authored by Viktor De Pasquale's avatar Viktor De Pasquale

Fixed search in magisk hide not being case insensitive

parent 683450f9
......@@ -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) }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment