diff --git a/lib/ui/screens/notifications_screen.dart b/lib/ui/screens/notifications_screen.dart index 0eb2567..a7a7083 100644 --- a/lib/ui/screens/notifications_screen.dart +++ b/lib/ui/screens/notifications_screen.dart @@ -4,10 +4,11 @@ import 'package:comunic/helpers/users_helper.dart'; import 'package:comunic/lists/groups_list.dart'; import 'package:comunic/lists/notifications_list.dart'; import 'package:comunic/lists/users_list.dart'; +import 'package:comunic/models/notification.dart' as n; import 'package:comunic/ui/widgets/account_image_widget.dart'; +import 'package:comunic/utils/date_utils.dart'; import 'package:comunic/utils/intl_utils.dart'; import 'package:comunic/utils/ui_utils.dart'; -import 'package:comunic/models/notification.dart' as n; import 'package:flutter/material.dart'; /// Notifications screen @@ -225,6 +226,7 @@ class _NotificationTile extends StatelessWidget { user: srcUser, ), title: Text(message), + subtitle: Text(diffTimeFromNowToStr(notification.timeCreate)), ); } }