TF-2187 Handle click system back button to back to Inbox

(cherry picked from commit 95dfd0eea6b64b8437b0ee35b489bd2660da8a71)
This commit is contained in:
dab246
2023-10-05 13:56:22 +07:00
committed by Dat H. Pham
parent 2e82b3f1eb
commit f408ab6712
7 changed files with 200 additions and 180 deletions
@@ -29,6 +29,8 @@ extension PresentationMailboxExtension on PresentationMailbox {
int get countTotalEmails => totalEmails?.value.value.toInt() ?? 0;
bool get isInbox => role == PresentationMailbox.roleInbox;
bool get isSpam => role == PresentationMailbox.roleSpam;
bool get isTrash => role == PresentationMailbox.roleTrash;