Require save to configure linked identity

This commit is contained in:
M66B
2021-04-23 20:42:05 +02:00
parent 73f85586db
commit 000097b353
2 changed files with 8 additions and 2 deletions

View File

@@ -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"));