Store and load client settings

This commit is contained in:
Eike Kettner
2021-05-26 01:14:30 +02:00
parent 9f76357879
commit 9ccc3ce438
10 changed files with 309 additions and 245 deletions

View File

@ -55,7 +55,7 @@ init flags url key =
else
Cmd.none
, Ports.getUiSettings flags
, Api.getClientSettings flags GetUiSettings
]
)
@ -85,5 +85,4 @@ subscriptions : Model -> Sub Msg
subscriptions model =
Sub.batch
[ model.subs
, Ports.loadUiSettings GetUiSettings
]