diff options
Diffstat (limited to 'shared/src/commonMain/kotlin/mx')
-rw-r--r-- | shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/UnitsController.kt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/UnitsController.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/UnitsController.kt index db6d9b3..576ca0e 100644 --- a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/UnitsController.kt +++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/UnitsController.kt @@ -58,9 +58,9 @@ class UnitsController( private suspend fun setupFlows() { unitsFlow.combine(queryFlow) { units, query -> units.filter { unit -> - unit.device.name.contains(query) || - unit.device.contact?.contains(query) == true || - unit.position?.address?.contains(query) == true + unit.device.name.contains(query, true) || + unit.device.contact?.contains(query, true) == true || + unit.position?.address?.contains(query, true) == true } }.collect { units -> this.displayedUnitsFlow.value = units |