diff options
Diffstat (limited to 'iosApp/iosApp/Map/UnitMapView.swift')
-rw-r--r-- | iosApp/iosApp/Map/UnitMapView.swift | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/iosApp/iosApp/Map/UnitMapView.swift b/iosApp/iosApp/Map/UnitMapView.swift index d2ad8a8..533ac13 100644 --- a/iosApp/iosApp/Map/UnitMapView.swift +++ b/iosApp/iosApp/Map/UnitMapView.swift @@ -30,10 +30,10 @@ struct UnitMapView: View { if let unit = unitsViewModel.selectedUnit { VStack { DeviceRow(unit: unit, callback: { action in - print("Action is \(action)") + unitsViewModel.show(action: action, for: unit) }, isCell: false) .padding() - .background(.systemBackground) + .background(.secondarySystemBackground) } .frame(maxWidth: .infinity, maxHeight: .infinity, |