diff --git a/packages/neon/neon_notifications/lib/pages/main.dart b/packages/neon/neon_notifications/lib/pages/main.dart index 7783f2d3..3b411922 100644 --- a/packages/neon/neon_notifications/lib/pages/main.dart +++ b/packages/neon/neon_notifications/lib/pages/main.dart @@ -61,15 +61,14 @@ class _NotificationsMainPageState extends State { subtitle: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ - if (notification.message.isNotEmpty) ...[ - Text( - notification.message, - overflow: TextOverflow.ellipsis, - ), - const SizedBox( - height: 5, + if (notification.message.isNotEmpty) + Padding( + padding: const EdgeInsets.only(bottom: 5), + child: Text( + notification.message, + overflow: TextOverflow.ellipsis, + ), ), - ], RelativeTime( date: DateTime.parse(notification.datetime), ),