TF-3290 Only show reconnection confirm dialog when composer is opened
This commit is contained in:
+4
@@ -94,6 +94,7 @@ import 'package:tmail_ui_user/main/localizations/app_localizations_delegate.dart
|
||||
import 'package:tmail_ui_user/main/localizations/localization_service.dart';
|
||||
import 'package:tmail_ui_user/main/utils/email_receive_manager.dart';
|
||||
import 'package:tmail_ui_user/main/utils/toast_manager.dart';
|
||||
import 'package:tmail_ui_user/main/utils/twake_app_manager.dart';
|
||||
import 'package:uuid/uuid.dart';
|
||||
|
||||
import '../../../../fixtures/account_fixtures.dart';
|
||||
@@ -175,6 +176,7 @@ const fallbackGenerators = {
|
||||
MockSpec<GetAllIdentitiesInteractor>(),
|
||||
MockSpec<GetQuotasInteractor>(),
|
||||
MockSpec<ToastManager>(),
|
||||
MockSpec<TwakeAppManager>(),
|
||||
MockSpec<GetIdentityCacheOnWebInteractor>(),
|
||||
])
|
||||
void main() {
|
||||
@@ -222,6 +224,7 @@ void main() {
|
||||
final deleteAuthorityOidcInteractor = MockDeleteAuthorityOidcInteractor();
|
||||
final appToast = MockAppToast();
|
||||
final toastManager = MockToastManager();
|
||||
final mockTwakeAppManager = MockTwakeAppManager();
|
||||
final imagePaths = ImagePaths();
|
||||
final responsiveUtils = MockResponsiveUtils();
|
||||
final uuid = MockUuid();
|
||||
@@ -296,6 +299,7 @@ void main() {
|
||||
Get.put<DeleteAuthorityOidcInteractor>(deleteAuthorityOidcInteractor);
|
||||
Get.put<AppToast>(appToast);
|
||||
Get.put<ToastManager>(toastManager);
|
||||
Get.put<TwakeAppManager>(mockTwakeAppManager);
|
||||
Get.put<ImagePaths>(imagePaths);
|
||||
Get.put<ResponsiveUtils>(responsiveUtils);
|
||||
Get.put<Uuid>(uuid);
|
||||
|
||||
Reference in New Issue
Block a user