http client class safeApiCall error state handle

This commit is contained in:
2024-08-13 12:32:40 +05:30
parent 5889717efe
commit cd83375b98
8 changed files with 68 additions and 42 deletions

View File

@@ -10,13 +10,13 @@ class SplashScreenController extends GetxController {
@override
void onInit() {
5.seconds.delay(() {
// _gotoLoginScreen();
_gotoLoginScreen();
if (_loginTokenNotFound) {
_gotoLoginScreen();
} else {
_checkOngoingShift();
}
// if (_loginTokenNotFound) {
// _gotoLoginScreen();
// } else {
// _checkOngoingShift();
// }
});
super.onInit();