TF-1915 SendingState of SendingEmail updates according to the work done in WorkManager when network connectivity is restored
(cherry picked from commit 744c8bc8dc8a82cb3afb75aead5a744adaae5501)
This commit is contained in:
@@ -1,13 +1,9 @@
|
||||
import 'package:core/core.dart';
|
||||
import 'package:core/presentation/state/failure.dart';
|
||||
import 'package:core/presentation/state/success.dart';
|
||||
import 'package:jmap_dart_client/jmap/core/state.dart' as jmap;
|
||||
import 'package:tmail_ui_user/features/base/state/ui_action_state.dart';
|
||||
|
||||
class SendingEmailState extends UIState {
|
||||
SendingEmailState();
|
||||
|
||||
@override
|
||||
List<Object?> get props => [];
|
||||
}
|
||||
class SendEmailLoading extends UIState {}
|
||||
|
||||
class SendEmailSuccess extends UIActionState {
|
||||
|
||||
@@ -21,9 +17,8 @@ class SendEmailSuccess extends UIActionState {
|
||||
}
|
||||
|
||||
class SendEmailFailure extends FeatureFailure {
|
||||
final dynamic exception;
|
||||
|
||||
SendEmailFailure(this.exception);
|
||||
SendEmailFailure(dynamic exception) : super(exception: exception);
|
||||
|
||||
@override
|
||||
List<Object?> get props => [exception];
|
||||
|
||||
Reference in New Issue
Block a user