Set sharing subject, finish action mode

pull/996/head
Alex Baker 5 years ago
parent 4cfe15e35e
commit ba2c90e431

@ -792,12 +792,13 @@ public final class TaskListFragment extends InjectingFragment
.join(
transform(
tasks, t -> String.format("%s %s", t.isCompleted() ? "☑" : "☐", t.getTitle())));
intent.putExtra(Intent.EXTRA_SUBJECT, filter.listingTitle);
intent.putExtra(Intent.EXTRA_TEXT, output);
intent.setType("text/plain");
startActivity(Intent.createChooser(intent, null));
taskAdapter.clearSelections();
finishActionMode();
}
@Override

Loading…
Cancel
Save