We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d6f5a8 commit 5627f10Copy full SHA for 5627f10
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
@@ -132,7 +132,7 @@ void main() {
132
..groupKey.equals(expectedGroupKey)
133
..isGroupSummary.isNull()
134
..inboxStyle.isNull()
135
- ..autoCancel.isNull()
+ ..autoCancel.equals(true)
136
..contentIntent.which((it) => it.isNotNull()
137
..requestCode.equals(expectedId)
138
..flags.equals(expectedIntentFlags)
0 commit comments