diff options
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") |