Update syncTime to be at least 1

pull/11/head
Bram van den Heuvel 2024-01-12 17:11:07 +01:00
parent 2507766248
commit ad3f45d035
1 changed files with 1 additions and 1 deletions

View File

@ -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