mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-04-04 18:39:33 +00:00
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:
parent
ec142dfe1f
commit
a90a24c419
@ -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 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user