Skip to content

Commit

Permalink
todo.txt filter search: Disable highlighting at completed tasks, by @…
Browse files Browse the repository at this point in the history
  • Loading branch information
harshad1 authored Jul 11, 2022
1 parent d70fc52 commit bec5e6b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ public static void showSttFilteringDialog(final Activity activity, final EditTex
icons.add(R.drawable.ic_check_black_24dp);
callbacks.add(() -> {
final SearchOrCustomTextDialog.DialogOptions dopt2 = makeSttLineSelectionDialog(activity, text, TodoTxtTask::isDone);
dopt2.highlighter = null; // Don't need the grey + strikeout highlighting. Makes it harder to see.
dopt2.titleText = R.string.completed;
SearchOrCustomTextDialog.showMultiChoiceDialogWithSearchFilterUI(activity, dopt2);
});
Expand Down

0 comments on commit bec5e6b

Please sign in to comment.