diff --git a/lib/components/overlays/notifications/widgets/listener.dart b/lib/components/overlays/notifications/widgets/listener.dart index 99ce5ed9..72a9a10c 100644 --- a/lib/components/overlays/notifications/widgets/listener.dart +++ b/lib/components/overlays/notifications/widgets/listener.dart @@ -35,6 +35,10 @@ mixin NotificationServiceListener on State { setState(() {}); case ReplaceNotificationEvent(id: final id, oldId: final oldId): + final UserNotification? notification = service.getNotification(id); + + if (notification == null) return; + onNotificationReplaced(oldId, id); default: break;