mifos-mobile
mifos-mobile copied to clipboard
Back button pressed from settings moves app to the previously opened activity
Summary:
If the back button is pressed from the settings activity it moves to the previously opened navigation menu tab and not the home page unlike other options
Steps to reproduce:
- Open Setting from the Home screen Navigation drawer.
- Select Beneficiaries
- Open Navigation menu and click on Settings
- Press Back Button
- It shows the Beneficiaries activity again.
- Same issue not seen with other options in the menu
Expected behavior:
Expected to open the Home Activity
Observed behavior:
Instead reverts to previously opened activity
Device and Android version:
Redmi Y2
I believe issue #1009 and #891 are along similar lines but the bug I raised is still present and is inconsistent with the expected outcome. I'd like to work on this.
@jawidMuhammadi , isn't this how the default functioning should be, if I go to beneficiaries -> then I go to settings -> if I press a back, I should be taken back to what I was doing before(i.e. was in beneficiaries screen). And recently we also worked on this issue, where we purposefully wanted the user to land back to the previous screen if we tap back from the settings. Have a look : #2076 If you agree then we can also close this issue and related PRs.