TF-1708 Sync use mailbox display name to show all mailbox name by in toast, dialog, label, path..
(cherry picked from commit 62137b655383199005c31d21fce46906fab451dc)
This commit is contained in:
@@ -12,7 +12,7 @@ class MoveMailboxSuccess extends UIActionState {
|
||||
final MoveAction moveAction;
|
||||
final MailboxId? parentId;
|
||||
final MailboxId? destinationMailboxId;
|
||||
final MailboxName? destinationMailboxName;
|
||||
final String? destinationMailboxDisplayName;
|
||||
|
||||
MoveMailboxSuccess(
|
||||
this.mailboxIdSelected,
|
||||
@@ -20,7 +20,7 @@ class MoveMailboxSuccess extends UIActionState {
|
||||
{
|
||||
this.parentId,
|
||||
this.destinationMailboxId,
|
||||
this.destinationMailboxName,
|
||||
this.destinationMailboxDisplayName,
|
||||
jmap.State? currentEmailState,
|
||||
jmap.State? currentMailboxState,
|
||||
}
|
||||
@@ -29,14 +29,17 @@ class MoveMailboxSuccess extends UIActionState {
|
||||
@override
|
||||
List<Object?> get props => [
|
||||
mailboxIdSelected,
|
||||
moveAction,
|
||||
parentId,
|
||||
destinationMailboxId];
|
||||
destinationMailboxId,
|
||||
destinationMailboxDisplayName,
|
||||
...super.props
|
||||
];
|
||||
}
|
||||
|
||||
class MoveMailboxFailure extends FeatureFailure {
|
||||
final dynamic exception;
|
||||
|
||||
MoveMailboxFailure(this.exception);
|
||||
MoveMailboxFailure(dynamic exception) : super(exception: exception);
|
||||
|
||||
@override
|
||||
List<Object?> get props => [exception];
|
||||
|
||||
Reference in New Issue
Block a user