TF-220 Sort list of mailboxes by SortOrder before display
This commit is contained in:
committed by
Dat H. Pham
parent
6129d30817
commit
8de71fda18
@@ -19,4 +19,8 @@ extension MailboxExtension on Mailbox {
|
||||
isSubscribed: isSubscribed?.value
|
||||
);
|
||||
}
|
||||
|
||||
int compareTo(Mailbox other) {
|
||||
return this.sortOrder!.value.value.compareTo(other.sortOrder!.value.value);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user