No can undo

pull/172/head
M66B 5 years ago
parent 768436f3c6
commit 9a494ecf65

@ -3138,6 +3138,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
args.putLong("message", message.id); args.putLong("message", message.id);
args.putBoolean("copy", copy); args.putBoolean("copy", copy);
args.putBoolean("similar", false); args.putBoolean("similar", false);
args.putBoolean("nocanundo", true);
FragmentDialogFolder fragment = new FragmentDialogFolder(); FragmentDialogFolder fragment = new FragmentDialogFolder();
fragment.setArguments(args); fragment.setArguments(args);

@ -5623,7 +5623,8 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
@Override @Override
protected void onExecuted(Bundle args, ArrayList<MessageTarget> result) { protected void onExecuted(Bundle args, ArrayList<MessageTarget> result) {
moveAsk(result, false, true); boolean nocanundo = args.getBoolean("nocanundo");
moveAsk(result, false, !nocanundo);
} }
@Override @Override

Loading…
Cancel
Save