From 3027d3bb3903f855944d3b1796f00a5302ff900d Mon Sep 17 00:00:00 2001 From: yaso Date: Mon, 7 Oct 2024 15:39:18 +0200 Subject: [PATCH] Add insert time of notification --- .../lib/mih_components/mih_layout/mih_notification_drawer.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Frontend/patient_manager/lib/mih_components/mih_layout/mih_notification_drawer.dart b/Frontend/patient_manager/lib/mih_components/mih_layout/mih_notification_drawer.dart index 0851ea31..70df4828 100644 --- a/Frontend/patient_manager/lib/mih_components/mih_layout/mih_notification_drawer.dart +++ b/Frontend/patient_manager/lib/mih_components/mih_layout/mih_notification_drawer.dart @@ -90,7 +90,8 @@ class _MIHNotificationDrawerState extends State { 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(