File tree 2 files changed +3
-3
lines changed 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -560,8 +560,8 @@ class FakeAndroidNotificationHostApi implements AndroidNotificationHostApi {
560
560
561
561
final Map <String , MessagingStyle ?> _activeNotificationsMessagingStyle = {};
562
562
563
- /// Clears all active notifications that have been created via [notify] .
564
- void clearActiveNotifications () {
563
+ /// Clears all [MessagingStyle] of active notifications that have been created via [notify] .
564
+ void clearActiveNotificationsMessagingStyle () {
565
565
_activeNotificationsMessagingStyle.clear ();
566
566
}
567
567
Original file line number Diff line number Diff line change @@ -232,7 +232,7 @@ void main() {
232
232
expectedIsGroupConversation: expectedIsGroupConversation,
233
233
expectedTitle: expectedTitle,
234
234
expectedTagComponent: expectedTagComponent);
235
- testBinding.androidNotificationHost.clearActiveNotifications ();
235
+ testBinding.androidNotificationHost.clearActiveNotificationsMessagingStyle ();
236
236
237
237
testBinding.firebaseMessaging.onBackgroundMessage.add (
238
238
RemoteMessage (data: data.toJson ()));
You can’t perform that action at this time.
0 commit comments