mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 18:38:26 +00:00
Move attachment tabs into a menu
If multiple attachments are present, the tab menu doesn't show all. So if there is more than one attachment they can be selected from a menu.
This commit is contained in:
@ -758,7 +758,7 @@ update key flags inav settings msg model =
|
||||
noSub ( { model | sentMails = sm }, Cmd.none )
|
||||
|
||||
ToggleSentMails ->
|
||||
noSub ( { model | sentMailsOpen = not model.sentMailsOpen, visibleAttach = -1 }, Cmd.none )
|
||||
noSub ( { model | sentMailsOpen = not model.sentMailsOpen }, Cmd.none )
|
||||
|
||||
SentMailsResp (Ok list) ->
|
||||
let
|
||||
@ -1266,6 +1266,9 @@ update key flags inav settings msg model =
|
||||
-- field and requires to activate the throttle
|
||||
withSub ( model_, Cmd.none )
|
||||
|
||||
ToggleAttachMenu ->
|
||||
noSub ( { model | attachMenuOpen = not model.attachMenuOpen }, Cmd.none )
|
||||
|
||||
|
||||
|
||||
--- Helper
|
||||
|
Reference in New Issue
Block a user