changes to enter the app when servise is not available, rollback themgit status
This commit is contained in:
@@ -121,6 +121,7 @@ public class SplashActivity extends BaseActivity {
|
||||
else {
|
||||
DialogHelper.hideLoadingDialog();
|
||||
ApiErrorUtils.parseError(response);
|
||||
getStoreList();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -128,6 +129,7 @@ public class SplashActivity extends BaseActivity {
|
||||
public void onFailure(Call<ResponseObject<String>> call, Throwable t) {
|
||||
DialogHelper.hideLoadingDialog();
|
||||
DialogHelper.showFailedDialog();
|
||||
getStoreList();
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -266,6 +268,7 @@ public class SplashActivity extends BaseActivity {
|
||||
else{
|
||||
DialogHelper.hideLoadingDialog();
|
||||
ApiErrorUtils.parseError(response);
|
||||
getCategoryList();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -273,6 +276,7 @@ public class SplashActivity extends BaseActivity {
|
||||
public void onFailure(Call<ResponseObject<WelcomeMessageModel>> call, Throwable t) {
|
||||
DialogHelper.hideLoadingDialog();
|
||||
DialogHelper.showFailedDialog();
|
||||
getCategoryList();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user