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),