feat: Refactor emergency contact screen and info banner for improved UI consistency

This commit is contained in:
Achintha Isuru
2026-03-01 02:16:26 -05:00
parent e05ca7c045
commit ea6b3fcc76
4 changed files with 12 additions and 44 deletions

View File

@@ -294,7 +294,7 @@ class ShiftsBloc extends Bloc<ShiftsEvent, ShiftsState>
return shifts.where((shift) {
if (shift.date.isEmpty) return false;
try {
final shiftDate = DateTime.parse(shift.date);
final shiftDate = DateTime.parse(shift.date).toLocal();
final dateOnly = DateTime(
shiftDate.year,
shiftDate.month,