Revert "Cache LinagoraEcosystem to avoid multiple network calls"

This reverts commit 252f34f914fa21f8acf2ef2b5de9ac0ab28a8b4c.
This commit is contained in:
Théo Poizat
2026-03-03 06:47:19 +01:00
committed by Dat H. Pham
parent 1982f199ac
commit 3ebb9113bc
4 changed files with 22 additions and 164 deletions
-2
View File
@@ -48,7 +48,6 @@ import 'package:tmail_ui_user/features/push_notification/domain/usecases/get_sto
import 'package:tmail_ui_user/features/push_notification/presentation/bindings/fcm_interactor_bindings.dart';
import 'package:tmail_ui_user/features/push_notification/presentation/bindings/web_socket_interactor_bindings.dart';
import 'package:tmail_ui_user/features/push_notification/presentation/config/fcm_configuration.dart';
import 'package:tmail_ui_user/features/mailbox_dashboard/data/cache/linagora_ecosystem_cache.dart';
import 'package:tmail_ui_user/features/push_notification/presentation/controller/fcm_message_controller.dart';
import 'package:tmail_ui_user/features/push_notification/presentation/controller/fcm_token_controller.dart';
import 'package:tmail_ui_user/features/push_notification/presentation/controller/web_socket_controller.dart';
@@ -597,7 +596,6 @@ abstract class BaseController extends GetxController
authorizationInterceptors.clear();
authorizationIsolateInterceptors.clear();
await cachingManager.closeHive();
LinagoraEcosystemCache().clearCache();
} catch (e) {
logWarning('BaseController::clearAllData: Cannot clear all data: $e');
}