TF-2094 add newSubFolder action to list action for default and personal mailbox

(cherry picked from commit 71eff81d71cb9dbb6ddf5a8d3114babb1e3a4271)
This commit is contained in:
hieubt
2023-10-05 17:13:04 +07:00
committed by Dat H. Pham
parent fb96f55ba8
commit 117d1886e4
@@ -38,6 +38,7 @@ mixin MailboxWidgetMixin {
return [
if (PlatformInfo.isWeb)
MailboxActions.openInNewTab,
MailboxActions.newSubfolder,
if (mailbox.isSpam)
_mailboxActionForSpam(spamReportEnabled),
if (mailbox.countUnReadEmailsAsString.isNotEmpty)
@@ -53,6 +54,7 @@ mixin MailboxWidgetMixin {
return [
if (PlatformInfo.isWeb && mailbox.isSubscribedMailbox)
MailboxActions.openInNewTab,
MailboxActions.newSubfolder,
if (mailbox.countUnReadEmailsAsString.isNotEmpty)
MailboxActions.markAsRead,
MailboxActions.move,