mifos-mobile
mifos-mobile copied to clipboard
Fix #1646: Fix confirmation dialog for forgot passcode option
Made changes to show a confirmation dialog on selecting “Forgot passcode, log in manually” option instead of directly logging out the user. User is logged out when “Logout” in the confirmation dialog is selected and selecting “Cancel” dismisses the dialog without any action.
Overrode the function forgotPassCode() in PassCodeActivity to display confirmation dialog. The user is logged out and login activity is launched ( startLoginActivity() is called) after the user selects "Logout" in the confirmation dialog.
Fixes #1646
Please Add Screenshots If there are any UI changes.
Please make sure these boxes are checked before submitting your pull request - thanks!
-
[x] Apply the
AndroidStyle.xmlstyle template to your code in Android Studio. -
[x] Run the unit tests with
./gradlew checkto make sure you didn't break anything -
[x] If you have multiple commits please combine them into one commit by squashing them.
@miPlodder Can you please review this?