Skip to content

Commit 80ed643

Browse files
committed
actions: Add markNarrowAsRead dialog to KeywordSearchNarrow view
1 parent 4d21396 commit 80ed643

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/widgets/actions.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ abstract final class ZulipAction {
3232
static Future<void> markNarrowAsRead(BuildContext context, Narrow narrow) async {
3333
final zulipLocalizations = ZulipLocalizations.of(context);
3434

35-
if (narrow is CombinedFeedNarrow || narrow is ChannelNarrow || narrow is MentionsNarrow) {
35+
if (narrow is CombinedFeedNarrow || narrow is ChannelNarrow ||
36+
narrow is MentionsNarrow || narrow is KeywordSearchNarrow) {
3637
final didConfirm = showSuggestedActionDialog(context: context,
3738
title: zulipLocalizations.markAllAsReadConfirmationDialogTitle,
3839
message: zulipLocalizations.markAllAsReadConfirmationDialogMessage,

0 commit comments

Comments
 (0)