Fixed snooze multiple selection

pull/155/head
M66B 7 years ago
parent 8cbc2e4f16
commit 0c196a3fc7

@ -1305,12 +1305,12 @@ public class FragmentMessages extends FragmentBase {
@Override @Override
public void onDurationSelected(long duration, long time) { public void onDurationSelected(long duration, long time) {
if (Helper.isPro(getContext())) { if (Helper.isPro(getContext())) {
selectionTracker.clearSelection();
Bundle args = new Bundle(); Bundle args = new Bundle();
args.putLongArray("ids", getSelection()); args.putLongArray("ids", getSelection());
args.putLong("wakeup", duration == 0 ? -1 : time); args.putLong("wakeup", duration == 0 ? -1 : time);
selectionTracker.clearSelection();
new SimpleTask<Void>() { new SimpleTask<Void>() {
@Override @Override
protected Void onExecute(Context context, Bundle args) { protected Void onExecute(Context context, Bundle args) {

Loading…
Cancel
Save