Skip to content

Commit

Permalink
improved error msg in p3
Browse files Browse the repository at this point in the history
  • Loading branch information
Raghuvorkady committed Jun 12, 2021
1 parent 8b9a905 commit 4d92c93
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions p3-LoginActivity/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ android {
applicationId "csmp.part_a.p3"
minSdkVersion 16
targetSdkVersion 30
versionCode 2
versionName "1.1.0"
versionCode 3
versionName "1.1.1"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public void onClick(View view) {
makeToast("Successful Login!");
else {
if (attempts < MAX_ATTEMPTS)
makeToast("Login attempts remaining: " + (MAX_ATTEMPTS - attempts));
makeToast("Incorrect login credentials\nLogin attempts remaining: " + (MAX_ATTEMPTS - attempts));
else {
makeToast("Failed Login Attempts");
signInButton.setEnabled(false);
Expand Down

0 comments on commit 4d92c93

Please sign in to comment.