fix: search case sensitive

closes #515
This commit is contained in:
Zane Schepke 2024-12-26 22:42:43 -05:00
parent 6a0b2b678f
commit 7cbbf00e52
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ fun SplitTunnelScreen(appUiState: AppUiState, tunnelId: Int, viewModel: AppViewM
val sortedPackages by remember {
derivedStateOf {
splitTunnelApps.sortedWith(compareBy(collator) { it.name }).filter { it.name.contains(query) }.toMutableStateList()
splitTunnelApps.sortedWith(compareBy(collator) { it.name }).filter { it.name.lowercase().contains(query.lowercase()) }.toMutableStateList()
}
}