elm-format

pull/33/head
Bram 2024-07-15 16:07:28 +02:00
parent 31817ed545
commit 1736679e0f
2 changed files with 5 additions and 6 deletions

View File

@ -277,16 +277,15 @@ update roomUpdate startRoom =
Optional (Just u) -> Optional (Just u) ->
Recursion.recurse u Recursion.recurse u
Optional Nothing -> Optional Nothing ->
Recursion.base identity Recursion.base identity
SetAccountData key value -> SetAccountData key value ->
Recursion.base (setAccountData key value) Recursion.base (setAccountData key value)
SetEphemeral eph -> SetEphemeral eph ->
Recursion.base (\room -> { room | ephemeral = eph }) Recursion.base (\room -> { room | ephemeral = eph })
) )
roomUpdate roomUpdate
startRoom startRoom

View File

@ -176,10 +176,10 @@ update vaultUpdate startVault =
Optional (Just u) -> Optional (Just u) ->
Recursion.recurse u Recursion.recurse u
Optional Nothing -> Optional Nothing ->
Recursion.base identity Recursion.base identity
SetAccountData key value -> SetAccountData key value ->
Recursion.base (setAccountData key value) Recursion.base (setAccountData key value)