mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 18:38:26 +00:00
Add ui-settings flag for side menus
This commit is contained in:
@ -1269,6 +1269,15 @@ update key flags inav settings msg model =
|
||||
ToggleAttachMenu ->
|
||||
noSub ( { model | attachMenuOpen = not model.attachMenuOpen }, Cmd.none )
|
||||
|
||||
UiSettingsUpdated ->
|
||||
let
|
||||
model_ =
|
||||
{ model
|
||||
| menuOpen = settings.editMenuVisible
|
||||
}
|
||||
in
|
||||
noSub ( model_, Cmd.none )
|
||||
|
||||
|
||||
|
||||
--- Helper
|
||||
|
Reference in New Issue
Block a user