mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-12-26 12:58:51 +00:00
Display the date of the notifications
This commit is contained in:
parent
3e15064e44
commit
559516efbd
@ -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)),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user