TF-3939 Add action Select all in mobile view
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
@@ -23,6 +23,8 @@ extension HandlePressEmailSelectionActionExtension on ThreadController {
|
||||
pressEmailSelectionAction(emailActionType, emails);
|
||||
} else if (type == EmailSelectionActionType.moreAction) {
|
||||
_showMoreActionMenu(context, emails, selectedMailbox);
|
||||
} else if (type == EmailSelectionActionType.selectAll) {
|
||||
_showSelectAllEmails();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -80,4 +82,10 @@ extension HandlePressEmailSelectionActionExtension on ThreadController {
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
void _showSelectAllEmails() {
|
||||
if (mailboxDashBoardController.emailsInCurrentMailbox.isAnySelectionInActive) {
|
||||
setSelectAllEmailAction();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user