Skip to content
This repository was archived by the owner on Apr 29, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ gen/
out/

# Gradle files
.gradle/
build/
.gradle
/build

# Local configuration file (sdk path, etc)
local.properties
/local.properties

# Proguard folder generated by Eclipse
proguard/
Expand All @@ -30,16 +30,17 @@ proguard/
.navigation/

# Android Studio captures folder
captures/
/captures

# Intellij
*.iml
/*.iml
.idea
.idea/workspace.xml
/.idea/workspace.xml
.idea/tasks.xml
.idea/gradle.xml
.idea/dictionaries
.idea/libraries
/.idea/libraries

# Keystore files
# Uncomment the following line if you do not want to check your keystore files in.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,16 @@ public void clearTokenPreferences() {
}

public void skip(View v) {
startHomeActivity();
if (isPassCodeVerified) {
btnSkip.setText(getString(R.string.skip));
btnSave.setText(getString(R.string.proceed));
tvPasscodeIntro.setText(getString(R.string.enter_passcode));
strPassCodeEntered = "";
mifosPassCodeView.clearPasscodeField();
isPassCodeVerified = false;
} else {
startHomeActivity();
}
}

/**
Expand All @@ -125,7 +134,7 @@ public void savePassCode(View view) {
mifosPassCodeView.clearPasscodeField();
}
} else {
btnSkip.setVisibility(View.INVISIBLE);
btnSkip.setText(getString(R.string.back));
btnSave.setText(getString(R.string.save));
tvPasscodeIntro.setText(getString(R.string.reenter_passcode));
strPassCodeEntered = mifosPassCodeView.getPasscode();
Expand Down
1 change: 1 addition & 0 deletions mifos-passcode/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<string name="incorrect_passcode_more_than_three">You have entered incorrect Passcode more than 3 times</string>
<string name="skip">Skip</string>
<string name="save">Save</string>
<string name="back">Back</string>
<string name="proceed">Proceed</string>
<string name="passcode_setup">Setup a passcode to login</string>
<string name="reenter_passcode">Please re-enter your passcode</string>
Expand Down