mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 05:44:51 +02:00
Require save to configure linked identity
This commit is contained in:
@@ -619,6 +619,8 @@ public class FragmentPop extends FragmentBase {
|
||||
nm.cancel("alert:" + account.id, 1);
|
||||
}
|
||||
|
||||
args.putBoolean("saved", true);
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -640,7 +642,8 @@ public class FragmentPop extends FragmentBase {
|
||||
if (getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED)) {
|
||||
getParentFragmentManager().popBackStack();
|
||||
|
||||
if (cbIdentity.isChecked()) {
|
||||
boolean saved = args.getBoolean("saved");
|
||||
if (saved && cbIdentity.isChecked()) {
|
||||
Bundle aargs = new Bundle();
|
||||
aargs.putLong("account", args.getLong("account"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user