Update syncTime to be at least 1
parent
2507766248
commit
ad3f45d035
|
@ -68,4 +68,4 @@ getSyncTime (Vault vault) =
|
||||||
-}
|
-}
|
||||||
setSyncTime : Int -> Vault -> Vault
|
setSyncTime : Int -> Vault -> Vault
|
||||||
setSyncTime time (Vault vault) =
|
setSyncTime time (Vault vault) =
|
||||||
Vault <| Envelope.mapSettings (\s -> { s | syncTime = time }) vault
|
Vault <| Envelope.mapSettings (\s -> { s | syncTime = max 1 time }) vault
|
||||||
|
|
Loading…
Reference in New Issue