diff options
author | Iván Ávalos <avalos@disroot.org> | 2023-09-16 16:13:33 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2023-09-16 16:13:33 -0600 |
commit | be1aa14b94e435488864aa77d895ad8d93865d7c (patch) | |
tree | 713cf49fb6e8516788a437a91730d7d56540a384 /iosApp/iosApp/Devices/DeviceRow.swift | |
parent | 6c69520fc2a968cb27d1f751f34a123205936567 (diff) | |
download | etbsa-trackermap-mobile-be1aa14b94e435488864aa77d895ad8d93865d7c.tar.gz etbsa-trackermap-mobile-be1aa14b94e435488864aa77d895ad8d93865d7c.tar.bz2 etbsa-trackermap-mobile-be1aa14b94e435488864aa77d895ad8d93865d7c.zip |
- [shared] Downgrade Kotlin to 1.8.22 due to Native issues
- [shared] Upgrade Ktor to 2.3.4 and migrate code
- [ios] Update view models to use @MainActor and Kotlin migrations
Diffstat (limited to 'iosApp/iosApp/Devices/DeviceRow.swift')
-rw-r--r-- | iosApp/iosApp/Devices/DeviceRow.swift | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/iosApp/iosApp/Devices/DeviceRow.swift b/iosApp/iosApp/Devices/DeviceRow.swift index 8a826ca..75f8c08 100644 --- a/iosApp/iosApp/Devices/DeviceRow.swift +++ b/iosApp/iosApp/Devices/DeviceRow.swift @@ -151,8 +151,8 @@ struct DeviceRow: View { } /* MARK: - Hourmeter */ - if let hourmeter = Int64(truncating: unit.getHourmeter() ?? 0), - hourmeter >= 60 * 60 * 1000 { + let hourmeter = Int64(truncating: unit.getHourmeter() ?? 0) + if hourmeter >= 60 * 60 * 1000 { HStack { Label(Formatter.companion.formatHours(millis: hourmeter), systemImage: "timer") |