Skip to content

Commit

Permalink
added Error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Vipinsoni38 committed Mar 5, 2019
1 parent c2a3743 commit c216ba7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ public void onError(Throwable throwable) {
} else {
getMvpView().showError(mifosError.getMessage());
}
} else {
getMvpView().showError(context.getString(R.string.login_failed));
}
}

Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<string name="login">Login</string>
<string name="fineract_account">Fineract Account</string>
<string name="welcome">Welcome</string>
<string name="login_failed">Login Failed</string>
<string name="no_internet_connection">No Internet found. Check your connection</string>
<string name="or_try_again">or try again</string>
<string name="wrong_username_or_password">Wrong username or password</string>
Expand Down

0 comments on commit c216ba7

Please sign in to comment.