From 7c0bd3d55b80cf4bb7aef4e629d20a845c0a5be7 Mon Sep 17 00:00:00 2001 From: Iván Ávalos Date: Mon, 9 Jan 2023 23:01:00 -0600 Subject: Bumped version to 1.4 and added ignition icon --- iosApp/iosApp.xcodeproj/project.pbxproj | 8 ++++++-- iosApp/iosApp/Devices/DeviceRow.swift | 9 ++++++++- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/iosApp/iosApp.xcodeproj/project.pbxproj b/iosApp/iosApp.xcodeproj/project.pbxproj index 6706004..38eeaf7 100644 --- a/iosApp/iosApp.xcodeproj/project.pbxproj +++ b/iosApp/iosApp.xcodeproj/project.pbxproj @@ -586,11 +586,13 @@ "$(PROJECT_DIR)", ); INFOPLIST_FILE = iosApp/Info.plist; + INFOPLIST_KEY_CFBundleDisplayName = TrackerMap; + INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.navigation"; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.1; + MARKETING_VERSION = 1.4; OTHER_LDFLAGS = ( "$(inherited)", "-framework", @@ -624,11 +626,13 @@ "$(PROJECT_DIR)", ); INFOPLIST_FILE = iosApp/Info.plist; + INFOPLIST_KEY_CFBundleDisplayName = TrackerMap; + INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.navigation"; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.1; + MARKETING_VERSION = 1.4; OTHER_LDFLAGS = ( "$(inherited)", "-framework", 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: -- cgit v1.2.3