Skip to content

Commit

Permalink
fix: Dismiss loader when there is some error
Browse files Browse the repository at this point in the history
  • Loading branch information
brijeshshah13 authored and Swati4star committed Jun 15, 2018
1 parent d77f7b3 commit 6f4738a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,10 @@ public void run() {
String token = responeJsonObject.getString("token");
mView.rememberUserInfo(token, email);
mView.startMainActivity();
mView.dismissLoadingDialog();
} else {
mView.showError();
}
mView.dismissLoadingDialog();
} catch (JSONException e) {
e.printStackTrace();
}
Expand Down

0 comments on commit 6f4738a

Please sign in to comment.