mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 04:35:57 +00:00
Require save to configure linked identity
This commit is contained in:
parent
73f85586db
commit
000097b353
2 changed files with 8 additions and 2 deletions
|
@ -1250,6 +1250,8 @@ public class FragmentAccount extends FragmentBase {
|
|||
nm.cancel("alert:" + account.id, 1);
|
||||
}
|
||||
|
||||
args.putBoolean("saved", true);
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -1271,7 +1273,8 @@ public class FragmentAccount 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"));
|
||||
|
||||
|
|
|
@ -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"));
|
||||
|
||||
|
|
Loading…
Reference in a new issue