1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-22 12:59:21 +00:00

Display the date of the notifications

This commit is contained in:
Pierre HUBERT 2019-11-02 09:57:22 +01:00
parent 3e15064e44
commit 559516efbd

View File

@ -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)),
);
}
}