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 26f2550..1133c67 100644 --- a/iosApp/iosApp/Devices/DeviceRow.swift +++ b/iosApp/iosApp/Devices/DeviceRow.swift @@ -141,8 +141,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") |