fix: Correct formatting and improve comments in various files for clarity

This commit is contained in:
Achintha Isuru
2026-03-02 12:38:57 -05:00
parent a13cadefc8
commit 8497709356
6 changed files with 21 additions and 23 deletions

View File

@@ -180,7 +180,7 @@ class _ClockInPageState extends State<ClockInPage> {
style: UiTypography.body2b,
),
Text(
"${shift.clientName} • ${shift.location}",
"${shift.clientName} ${shift.location}",
style: UiTypography
.body3r
.textSecondary,

View File

@@ -136,7 +136,7 @@ class PersonalInfoBloc extends Bloc<PersonalInfoEvent, PersonalInfoState>
PersonalInfoAddressSelected event,
Emitter<PersonalInfoState> emit,
) {
// Legacy address selected – no-op; use PersonalInfoLocationAdded instead.
// Legacy address selected no-op; use PersonalInfoLocationAdded instead.
}
/// Adds a location to the preferredLocations list (max 5, no duplicates).

View File

@@ -109,7 +109,7 @@ class _PreferredLocationsPageState extends State<PreferredLocationsPage> {
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
// ── Description
// Description
Padding(
padding: const EdgeInsets.fromLTRB(
UiConstants.space5,
@@ -123,7 +123,7 @@ class _PreferredLocationsPageState extends State<PreferredLocationsPage> {
),
),
// ── Search autocomplete field
// Search autocomplete field
Padding(
padding: const EdgeInsets.symmetric(
horizontal: UiConstants.space5,
@@ -137,7 +137,7 @@ class _PreferredLocationsPageState extends State<PreferredLocationsPage> {
),
),
// ── "Max reached" banner
// "Max reached" banner
if (atMax)
Padding(
padding: const EdgeInsets.fromLTRB(
@@ -164,7 +164,7 @@ class _PreferredLocationsPageState extends State<PreferredLocationsPage> {
const SizedBox(height: UiConstants.space5),
// ── Section label
// Section label
Padding(
padding: const EdgeInsets.symmetric(
horizontal: UiConstants.space5,