TF-3333 Remove Mailbox/query & Mailbox/get when performing display spam banner
This commit is contained in:
-21
@@ -1,21 +0,0 @@
|
||||
import 'package:core/presentation/state/failure.dart';
|
||||
import 'package:core/presentation/state/success.dart';
|
||||
import 'package:jmap_dart_client/jmap/mail/mailbox/mailbox.dart';
|
||||
|
||||
class GetUnreadSpamMailboxLoading extends UIState {}
|
||||
|
||||
class GetUnreadSpamMailboxSuccess extends UIState {
|
||||
final Mailbox unreadSpamMailbox;
|
||||
|
||||
GetUnreadSpamMailboxSuccess(this.unreadSpamMailbox);
|
||||
|
||||
@override
|
||||
List<Object> get props => [unreadSpamMailbox];
|
||||
}
|
||||
|
||||
class InvalidSpamReportCondition extends FeatureFailure {}
|
||||
|
||||
class GetUnreadSpamMailboxFailure extends FeatureFailure {
|
||||
|
||||
GetUnreadSpamMailboxFailure(dynamic exception) : super(exception: exception);
|
||||
}
|
||||
@@ -17,4 +17,6 @@ class GetSpamMailboxCachedSuccess extends UIState {
|
||||
class GetSpamMailboxCachedFailure extends FeatureFailure {
|
||||
|
||||
GetSpamMailboxCachedFailure(exception) : super(exception: exception);
|
||||
}
|
||||
}
|
||||
|
||||
class InvalidSpamReportCondition extends FeatureFailure {}
|
||||
Reference in New Issue
Block a user