fix wrong calculation for "in 4h" (=remove linebreak)

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
Marcel Hibbe 2022-02-07 18:27:00 +01:00
parent 45028c3bd4
commit dad53a77e6
No known key found for this signature in database
GPG Key ID: C793F8B59F43CE7B

View File

@ -278,8 +278,8 @@ class SetStatusDialogFragment :
POS_FOUR_HOURS -> { POS_FOUR_HOURS -> {
// four hours // four hours
clearAt = clearAt =
System.currentTimeMillis() / ONE_SECOND_IN_MILLIS System.currentTimeMillis() / ONE_SECOND_IN_MILLIS + FOUR_HOURS * ONE_MINUTE_IN_SECONDS *
+FOUR_HOURS * ONE_MINUTE_IN_SECONDS * ONE_MINUTE_IN_SECONDS ONE_MINUTE_IN_SECONDS
} }
POS_TODAY -> { POS_TODAY -> {