Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1b1c3031 authored by cketti's avatar cketti
Browse files

Don't start another instance of AccountSettingsActivity when removing an account

Removing an account will trigger an update of AccountSelectionSpinner which will then detect the currently selected account is no longer available. It'll mark the default account as selected which in turn will trigger a call to onAccountSelected(). That will start AccountSettingsActivity with the newly selected account.
We now check whether finish() has already been called (because deleting the account will do that) and not start another instance of AccountSettingsActivity in that case.
parent 343137f1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment