Revert "Fix update with current ui settings"

This reverts commit e137b23674aaa960d038686500c2161c0501b606.

This change is completely useless. The wrong behaviour was probably
due to some browser cache.
This commit is contained in:
Eike Kettner 2021-05-29 14:45:36 +02:00
parent ec142dfe1f
commit a90a24c419

View File

@ -288,9 +288,6 @@ applyClientSettings model settings =
let
setTheme =
Ports.setUiTheme settings.uiTheme
model_ =
{ model | uiSettings = settings }
in
Util.Update.andThen2
[ \m ->
@ -302,7 +299,7 @@ applyClientSettings model settings =
, updateHome Page.Home.Data.UiSettingsUpdated
, updateItemDetail Page.ItemDetail.Data.UiSettingsUpdated
]
model_
{ model | uiSettings = settings }
updateItemDetail : Page.ItemDetail.Data.Msg -> Model -> ( Model, Cmd Msg, Sub Msg )