diff --git a/lib/ui/home/home_notification.dart b/lib/ui/home/home_notification.dart index dd558691..218ceef5 100644 --- a/lib/ui/home/home_notification.dart +++ b/lib/ui/home/home_notification.dart @@ -70,7 +70,7 @@ class _HomeNotificationState extends State { duration: Duration(milliseconds: 1000), child: Align( alignment: Alignment.centerLeft, - key: ValueKey(randomItem?.id ?? 0), + key: ObjectKey(randomItem), child: Text(randomItem?.title ?? ''), ), ),