From 786d89404ee7d2426e7df0dd863f7bcc827b1b27 Mon Sep 17 00:00:00 2001 From: Sikander Saleem Date: Wed, 21 Jan 2026 17:14:55 +0300 Subject: [PATCH] shift start time and end time improvement. --- lib/views/pages/user/profile_page.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/views/pages/user/profile_page.dart b/lib/views/pages/user/profile_page.dart index e228923e..cab6b76d 100644 --- a/lib/views/pages/user/profile_page.dart +++ b/lib/views/pages/user/profile_page.dart @@ -281,11 +281,11 @@ class _ProfilePageState extends State { ) else ...[ Text( - 'Shift Start Time: ${snapshot.data!.shiftActualStartDatetime?.chatMsgTime ?? "-"}', + 'Shift Start Time: ${snapshot.data!.shiftName?.split('-').first.trim() ?? "-"}', style: AppTextStyles.bodyText.copyWith(color: context.isDark ? AppColor.neutral10 : AppColor.neutral120), ), Text( - 'Shift Start Time: ${snapshot.data!.shiftActualEndDateTime?.chatMsgTime ?? "-"}', + 'Shift End Time: ${snapshot.data!.shiftName?.split('-').last.trim() ?? "-"}', style: AppTextStyles.bodyText.copyWith(color: context.isDark ? AppColor.neutral10 : AppColor.neutral120), ), const Divider().defaultStyle(context),