refactor: Update AvailabilityPage and ClockInPage to enhance UI consistency and remove unused code
This commit is contained in:
@@ -64,14 +64,6 @@ class _ClockInPageState extends State<ClockInPage> {
|
||||
final bool isCheckedIn =
|
||||
state.attendance.isCheckedIn && isActiveSelected;
|
||||
|
||||
// Format times for display
|
||||
final String checkInStr = checkInTime != null
|
||||
? DateFormat('h:mm a').format(checkInTime)
|
||||
: '--:-- --';
|
||||
final String checkOutStr = checkOutTime != null
|
||||
? DateFormat('h:mm a').format(checkOutTime)
|
||||
: '--:-- --';
|
||||
|
||||
return Scaffold(
|
||||
appBar: UiAppBar(
|
||||
titleWidget: Text(
|
||||
@@ -117,7 +109,6 @@ class _ClockInPageState extends State<ClockInPage> {
|
||||
),
|
||||
const SizedBox(height: 20),
|
||||
|
||||
|
||||
// Your Activity Header
|
||||
const Text(
|
||||
"Your Activity",
|
||||
|
||||
Reference in New Issue
Block a user