mifos-mobile icon indicating copy to clipboard operation
mifos-mobile copied to clipboard

Fix #1646: Fix confirmation dialog for forgot passcode option

Open VaishnaviShri opened this issue 4 years ago • 1 comments

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.xml style template to your code in Android Studio.

  • [x] Run the unit tests with ./gradlew check to make sure you didn't break anything

  • [x] If you have multiple commits please combine them into one commit by squashing them.

VaishnaviShri avatar Dec 26 '20 17:12 VaishnaviShri

@miPlodder Can you please review this?

VaishnaviShri avatar Dec 27 '20 14:12 VaishnaviShri