Fix build error
This commit is contained in:
@@ -122,8 +122,8 @@ abstract class BaseController extends GetxController
|
|||||||
log('BaseController::onData(): $success');
|
log('BaseController::onData(): $success');
|
||||||
_getSubscriptionLocalAction();
|
_getSubscriptionLocalAction();
|
||||||
} else if (success is GetFCMSubscriptionLocalSuccess) {
|
} else if (success is GetFCMSubscriptionLocalSuccess) {
|
||||||
final _subscriptionId = success.fcmSubscription.subscriptionId;
|
final subscriptionId = success.fcmSubscription.subscriptionId;
|
||||||
_destroySubscriptionAction(_subscriptionId);
|
_destroySubscriptionAction(subscriptionId);
|
||||||
} else if (success is DestroySubscriptionSuccess) {
|
} else if (success is DestroySubscriptionSuccess) {
|
||||||
checkAuthenticationTypeWhenLogout();
|
checkAuthenticationTypeWhenLogout();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -55,14 +55,6 @@ abstract class ReloadableController extends BaseController {
|
|||||||
_handleGetSessionSuccess(success);
|
_handleGetSessionSuccess(success);
|
||||||
} else if (success is GetStoredTokenOidcSuccess) {
|
} else if (success is GetStoredTokenOidcSuccess) {
|
||||||
_handleGetStoredTokenOIDCSuccess(success);
|
_handleGetStoredTokenOIDCSuccess(success);
|
||||||
<<<<<<< HEAD
|
|
||||||
} else if (success is GetFCMSubscriptionLocalSuccess) {
|
|
||||||
final subscriptionId = success.fcmSubscription.subscriptionId;
|
|
||||||
_destroySubscriptionAction(subscriptionId);
|
|
||||||
} else if (success is DestroySubscriptionSuccess) {
|
|
||||||
_checkAuthenticationTypeWhenLogout();
|
|
||||||
=======
|
|
||||||
>>>>>>> d49ace46 (Move logout logic to BaseController to handle logout when BadCredentials for all cases)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -337,7 +337,7 @@ class ThreadController extends BaseController with EmailActionController {
|
|||||||
void _handleErrorGetAllOrRefreshChangesEmail(dynamic error) async {
|
void _handleErrorGetAllOrRefreshChangesEmail(dynamic error) async {
|
||||||
logError('ThreadController::_handleErrorGetAllOrRefreshChangesEmail():Error: $error');
|
logError('ThreadController::_handleErrorGetAllOrRefreshChangesEmail():Error: $error');
|
||||||
if (error is CannotCalculateChangesMethodResponseException) {
|
if (error is CannotCalculateChangesMethodResponseException) {
|
||||||
await _cachingManager.clearEmailCache();
|
await cachingManager.clearEmailCache();
|
||||||
_getAllEmailAction();
|
_getAllEmailAction();
|
||||||
} else {
|
} else {
|
||||||
super.onError(error);
|
super.onError(error);
|
||||||
|
|||||||
+1
-1
@@ -5,7 +5,7 @@ set -e
|
|||||||
set -x
|
set -x
|
||||||
|
|
||||||
cd core
|
cd core
|
||||||
flutter pub get
|
#flutter pub get
|
||||||
|
|
||||||
## Install necessary pods
|
## Install necessary pods
|
||||||
#cd ../ios
|
#cd ../ios
|
||||||
|
|||||||
Reference in New Issue
Block a user