diff options
author | Iván Ávalos <avalos@disroot.org> | 2023-01-09 23:01:00 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2023-01-09 23:01:00 -0600 |
commit | 7c0bd3d55b80cf4bb7aef4e629d20a845c0a5be7 (patch) | |
tree | 98e3a829d8076af9ef5cc42bf120feaa72c4e74e | |
parent | 1039633225ee601d0ada7f42dd43165964938218 (diff) | |
download | etbsa-trackermap-mobile-7c0bd3d55b80cf4bb7aef4e629d20a845c0a5be7.tar.gz etbsa-trackermap-mobile-7c0bd3d55b80cf4bb7aef4e629d20a845c0a5be7.tar.bz2 etbsa-trackermap-mobile-7c0bd3d55b80cf4bb7aef4e629d20a845c0a5be7.zip |
Bumped version to 1.4 and added ignition icon
-rw-r--r-- | iosApp/iosApp.xcodeproj/project.pbxproj | 8 | ||||
-rw-r--r-- | 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: |