TF-3996 Group context menu actions in email list view
This commit is contained in:
+2
@@ -38,6 +38,7 @@ extension HandleEmailMoreActionExtension on SearchEmailController {
|
||||
action,
|
||||
AppLocalizations.of(context),
|
||||
imagePaths,
|
||||
category: action.category,
|
||||
))
|
||||
.toList();
|
||||
|
||||
@@ -53,6 +54,7 @@ extension HandleEmailMoreActionExtension on SearchEmailController {
|
||||
mailboxContain: mailboxContain,
|
||||
);
|
||||
},
|
||||
useGroupedActions: true,
|
||||
);
|
||||
} else {
|
||||
final popupMenuItems = listEmailActions.map((actionType) {
|
||||
|
||||
+2
@@ -70,6 +70,7 @@ extension HandlePressEmailSelectionActionExtension on SearchEmailController {
|
||||
action,
|
||||
AppLocalizations.of(context),
|
||||
imagePaths,
|
||||
category: action.category,
|
||||
))
|
||||
.toList();
|
||||
|
||||
@@ -80,6 +81,7 @@ extension HandlePressEmailSelectionActionExtension on SearchEmailController {
|
||||
popBack();
|
||||
handleSelectionEmailAction(menuAction.action, emails);
|
||||
},
|
||||
useGroupedActions: true,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -70,6 +70,7 @@ extension HandlePressEmailSelectionActionExtension on ThreadController {
|
||||
action,
|
||||
AppLocalizations.of(context),
|
||||
imagePaths,
|
||||
category: action.category,
|
||||
))
|
||||
.toList();
|
||||
|
||||
@@ -80,6 +81,7 @@ extension HandlePressEmailSelectionActionExtension on ThreadController {
|
||||
popBack();
|
||||
pressEmailSelectionAction(menuAction.action, emails);
|
||||
},
|
||||
useGroupedActions: true,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -640,6 +640,7 @@ class ThreadView extends GetWidget<ThreadController>
|
||||
action,
|
||||
AppLocalizations.of(context),
|
||||
controller.imagePaths,
|
||||
category: action.category,
|
||||
))
|
||||
.toList();
|
||||
|
||||
@@ -654,6 +655,7 @@ class ThreadView extends GetWidget<ThreadController>
|
||||
mailboxContain: presentationEmail.mailboxContain,
|
||||
);
|
||||
},
|
||||
useGroupedActions: true,
|
||||
);
|
||||
} else {
|
||||
final popupMenuItems = listEmailActions.map((actionType) {
|
||||
|
||||
Reference in New Issue
Block a user