Auto refresh mails when resume app from background
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
|
||||
import 'package:core/presentation/state/failure.dart';
|
||||
import 'package:core/presentation/state/success.dart';
|
||||
|
||||
class DeleteEmailStateToRefreshLoading extends UIState {}
|
||||
|
||||
class DeleteEmailStateToRefreshSuccess extends UIState {
|
||||
|
||||
DeleteEmailStateToRefreshSuccess();
|
||||
|
||||
@override
|
||||
List<Object> get props => [];
|
||||
}
|
||||
|
||||
class DeleteEmailStateToRefreshFailure extends FeatureFailure {
|
||||
|
||||
DeleteEmailStateToRefreshFailure(dynamic exception) : super(exception: exception);
|
||||
}
|
||||
-18
@@ -1,18 +0,0 @@
|
||||
|
||||
import 'package:core/presentation/state/failure.dart';
|
||||
import 'package:core/presentation/state/success.dart';
|
||||
|
||||
class DeleteMailboxStateToRefreshLoading extends UIState {}
|
||||
|
||||
class DeleteMailboxStateToRefreshSuccess extends UIState {
|
||||
|
||||
DeleteMailboxStateToRefreshSuccess();
|
||||
|
||||
@override
|
||||
List<Object> get props => [];
|
||||
}
|
||||
|
||||
class DeleteMailboxStateToRefreshFailure extends FeatureFailure {
|
||||
|
||||
DeleteMailboxStateToRefreshFailure(dynamic exception) : super(exception: exception);
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
|
||||
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;
|
||||
|
||||
class GetEmailStateToRefreshLoading extends UIState {}
|
||||
|
||||
class GetEmailStateToRefreshSuccess extends UIState {
|
||||
|
||||
final jmap.State storedState;
|
||||
|
||||
GetEmailStateToRefreshSuccess(this.storedState);
|
||||
|
||||
@override
|
||||
List<Object> get props => [storedState];
|
||||
}
|
||||
|
||||
class GetEmailStateToRefreshFailure extends FeatureFailure {
|
||||
|
||||
GetEmailStateToRefreshFailure(dynamic exception) : super(exception: exception);
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
|
||||
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;
|
||||
|
||||
class GetMailboxStateToRefreshLoading extends UIState {}
|
||||
|
||||
class GetMailboxStateToRefreshSuccess extends UIState {
|
||||
|
||||
final jmap.State storedState;
|
||||
|
||||
GetMailboxStateToRefreshSuccess(this.storedState);
|
||||
|
||||
@override
|
||||
List<Object> get props => [storedState];
|
||||
}
|
||||
|
||||
class GetMailboxStateToRefreshFailure extends FeatureFailure {
|
||||
|
||||
GetMailboxStateToRefreshFailure(dynamic exception) : super(exception: exception);
|
||||
}
|
||||
Reference in New Issue
Block a user