Add insert time of notification

This commit is contained in:
2024-10-07 15:39:18 +02:00
parent 9fdf073dbf
commit 3027d3bb39

View File

@@ -90,7 +90,8 @@ class _MIHNotificationDrawerState extends State<MIHNotificationDrawer> {
Widget displayNotifications(int index) {
String title = widget.notifications[index].notification_type;
String subtitle = widget.notifications[index].notification_message;
String subtitle =
"${widget.notifications[index].insert_date}\n${widget.notifications[index].notification_message}";
Widget notificationTitle;
if (widget.notifications[index].notification_read == "No") {
notificationTitle = Row(