Skip to content

Commit

Permalink
TF-2460 Cancel deleting firebase token after logout
Browse files Browse the repository at this point in the history
Signed-off-by: dab246 <tdvu@linagora.com>
  • Loading branch information
dab246 authored and chibenwa committed Feb 2, 2024
1 parent 483116c commit 5dda7b0
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions lib/features/base/base_controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ abstract class BaseController extends GetxController
final ResponsiveUtils responsiveUtils = Get.find<ResponsiveUtils>();
final Uuid uuid = Get.find<Uuid>();

final _fcmReceiver = FcmReceiver.instance;
bool _isFcmEnabled = false;

GetStoredFirebaseRegistrationInteractor? _getStoredFirebaseRegistrationInteractor;
Expand Down Expand Up @@ -364,9 +363,6 @@ abstract class BaseController extends GetxController
}
authorizationInterceptors.clear();
authorizationIsolateInterceptors.clear();
if (_isFcmEnabled) {
await _fcmReceiver.deleteFcmToken();
}
await cachingManager.closeHive();
}

Expand All @@ -381,9 +377,6 @@ abstract class BaseController extends GetxController
}
authorizationIsolateInterceptors.clear();
authorizationInterceptors.clear();
if (_isFcmEnabled) {
await _fcmReceiver.deleteFcmToken();
}
await cachingManager.closeHive();
}
}

0 comments on commit 5dda7b0

Please sign in to comment.