aboutsummaryrefslogtreecommitdiff
path: root/iosApp/iosApp/Devices
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2023-01-09 23:10:19 -0600
committerIván Ávalos <avalos@disroot.org>2023-01-09 23:10:19 -0600
commit5cde397f72cdcce4af1ff46bfe42e1f781258044 (patch)
tree19acb91aaefea602bf343c4812c2466a24802471 /iosApp/iosApp/Devices
parente2c8c918478ea967b0a18fd95af421fd048b22c3 (diff)
parent7c0bd3d55b80cf4bb7aef4e629d20a845c0a5be7 (diff)
downloadetbsa-trackermap-mobile-5cde397f72cdcce4af1ff46bfe42e1f781258044.tar.gz
etbsa-trackermap-mobile-5cde397f72cdcce4af1ff46bfe42e1f781258044.tar.bz2
etbsa-trackermap-mobile-5cde397f72cdcce4af1ff46bfe42e1f781258044.zip
Merged upstream
Diffstat (limited to 'iosApp/iosApp/Devices')
-rw-r--r--iosApp/iosApp/Devices/DeviceRow.swift9
1 files changed, 8 insertions, 1 deletions
diff --git a/iosApp/iosApp/Devices/DeviceRow.swift b/iosApp/iosApp/Devices/DeviceRow.swift
index ee3298d..8a826ca 100644
--- a/iosApp/iosApp/Devices/DeviceRow.swift
+++ b/iosApp/iosApp/Devices/DeviceRow.swift
@@ -64,7 +64,7 @@ struct DeviceRow: View {
.padding(2.0)
}
}
-
+
@ViewBuilder
func getSharedContent() -> some View {
VStack {
@@ -83,6 +83,13 @@ struct DeviceRow: View {
EmptyView()
}
+ /* MARK: - Ignition */
+ if (unit.getIgnition()) {
+ Image(systemName: "key.fill")
+ .foregroundColor(.systemYellow)
+ .imageScale(.small)
+ }
+
/* MARK: - Engine stop */
switch (unit.getEngineStop()) {
case .on: