TF-1311: [Presentation] Implement hide mailbox in presentation
This commit is contained in:
@@ -1,15 +1,19 @@
|
||||
import 'package:core/core.dart';
|
||||
import 'package:tmail_ui_user/features/base/state/ui_action_state.dart';
|
||||
import 'package:jmap_dart_client/jmap/core/state.dart' as jmap;
|
||||
|
||||
|
||||
class LoadingSubscribeMailbox extends UIState {}
|
||||
|
||||
class SubscribeMailboxSuccess extends UIState {
|
||||
class SubscribeMailboxSuccess extends UIActionState {
|
||||
|
||||
final bool subscribeMailbox;
|
||||
|
||||
SubscribeMailboxSuccess(this.subscribeMailbox);
|
||||
SubscribeMailboxSuccess({
|
||||
jmap.State? currentEmailState,
|
||||
jmap.State? currentMailboxState,
|
||||
}) : super(currentEmailState, currentMailboxState);
|
||||
|
||||
@override
|
||||
List<Object?> get props => [subscribeMailbox];
|
||||
List<Object?> get props => [];
|
||||
}
|
||||
|
||||
class SubscribeMailboxFailure extends FeatureFailure {
|
||||
|
||||
Reference in New Issue
Block a user