TF-3766 Close bottom sheet after do any action: new folder, move, rename, hide folder, ... on mailbox view
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
@@ -283,11 +283,14 @@ class SearchMailboxView extends GetWidget<SearchMailboxController>
|
||||
return controller.openBottomSheetContextMenuAction(
|
||||
context: context,
|
||||
itemActions: contextMenuActions,
|
||||
onContextMenuActionClick: (menuAction) => controller.handleMailboxAction(
|
||||
context,
|
||||
menuAction.action,
|
||||
mailbox,
|
||||
),
|
||||
onContextMenuActionClick: (menuAction) {
|
||||
popBack();
|
||||
controller.handleMailboxAction(
|
||||
context,
|
||||
menuAction.action,
|
||||
mailbox,
|
||||
);
|
||||
},
|
||||
);
|
||||
} else {
|
||||
final popupMenuActions = getListPopupMenuItemAction(
|
||||
|
||||
Reference in New Issue
Block a user