TF-4002 Don't need to keep the expand/collapse state of creation dialog the same as the mailbox view
This commit is contained in:
@@ -1,23 +1,12 @@
|
||||
|
||||
import 'package:equatable/equatable.dart';
|
||||
import 'package:model/mailbox/presentation_mailbox.dart';
|
||||
import 'package:tmail_ui_user/features/mailbox/presentation/model/mailbox_tree.dart';
|
||||
|
||||
class MailboxCreatorArguments with EquatableMixin{
|
||||
final MailboxTree personalMailboxTree;
|
||||
final MailboxTree defaultMailboxTree;
|
||||
class MailboxCreatorArguments with EquatableMixin {
|
||||
final List<PresentationMailbox> listMailboxes;
|
||||
final PresentationMailbox? selectedMailbox;
|
||||
|
||||
MailboxCreatorArguments(
|
||||
this.defaultMailboxTree,
|
||||
this.personalMailboxTree,
|
||||
this.selectedMailbox,
|
||||
);
|
||||
MailboxCreatorArguments(this.listMailboxes, this.selectedMailbox);
|
||||
|
||||
@override
|
||||
List<Object?> get props => [
|
||||
defaultMailboxTree,
|
||||
personalMailboxTree,
|
||||
selectedMailbox,
|
||||
];
|
||||
}
|
||||
List<Object?> get props => [listMailboxes, selectedMailbox];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user