diff --git a/model/lib/email/email_action_type.dart b/model/lib/email/email_action_type.dart index ecbed93d3..b56c6d057 100644 --- a/model/lib/email/email_action_type.dart +++ b/model/lib/email/email_action_type.dart @@ -1,34 +1,39 @@ enum EmailActionType { - reply, - replyToList, - forward, - replyAll, - compose, - markAsRead, - markAsUnread, - markAsStarred, - unMarkAsStarred, - moveToMailbox, - editDraft, - editSendingEmail, - composeFromContentShared, - composeFromFileShared, - composeFromEmailAddress, - composeFromMailtoUri, - editAsNewEmail, - reopenComposerBrowser, - moveToTrash, - deletePermanently, - preview, - selection, - moveToSpam, - unSpam, - openInNewTab, - createRule, - unsubscribe, - composeFromUnsubscribeMailtoLink, - archiveMessage, - printAll, - downloadMessageAsEML + reply(1), + replyToList(1), + forward(1), + replyAll(1), + compose(), + markAsRead(2), + markAsUnread(2), + markAsStarred(2), + unMarkAsStarred(2), + moveToMailbox(2), + editDraft(), + editSendingEmail(), + composeFromContentShared(), + composeFromFileShared(), + composeFromEmailAddress(), + composeFromMailtoUri(), + editAsNewEmail(4), + reopenComposerBrowser(), + moveToTrash(3), + deletePermanently(3), + preview(), + selection(), + moveToSpam(2), + unSpam(), + openInNewTab(1), + createRule(4), + unsubscribe(), + composeFromUnsubscribeMailtoLink(), + archiveMessage(3), + printAll(4), + downloadMessageAsEML(4); + + /// Add category to group email action + final int category; + + const EmailActionType([this.category = -1]); } \ No newline at end of file