aboutsummaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-rw-r--r--shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/UnitsController.kt4
1 files changed, 2 insertions, 2 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 9c11b79..29c84f4 100644
--- a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/UnitsController.kt
+++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/UnitsController.kt
@@ -30,7 +30,7 @@ class UnitsController(
}
}
- suspend fun fetchUnits() {
+ private suspend fun fetchUnits() {
val devices = devicesApi.devicesGet()
val positions = positionsApi.positionsGet()
val positionsMap: MutableMap<Int, Position> = mutableMapOf()
@@ -51,7 +51,7 @@ class UnitsController(
queryFlow.value = query
}
- suspend fun setupFlows() {
+ private suspend fun setupFlows() {
unitsFlow.combine(queryFlow) { units, query ->
units.filter { unit ->
unit.device.name.contains(query) ||