We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8b1184 commit 7ade515Copy full SHA for 7ade515
lib/notifications/display.dart
@@ -142,6 +142,7 @@ class NotificationDisplayManager {
142
// TODO this doesn't set the Intent flags we set in zulip-mobile; is that OK?
143
// (This is a legacy of `flutter_local_notifications`.)
144
),
145
+ autoCancel: true,
146
);
147
148
await ZulipBinding.instance.androidNotificationHost.notify(
test/notifications/display_test.dart
@@ -131,7 +131,7 @@ void main() {
131
..groupKey.equals(expectedGroupKey)
132
..isGroupSummary.isNull()
133
..inboxStyle.isNull()
134
- ..autoCancel.isNull()
+ ..autoCancel.equals(true)
135
..contentIntent.which((it) => it.isNotNull()
136
..requestCode.equals(expectedId)
137
..flags.equals(expectedIntentFlags)
0 commit comments