refactor: remove completed status from profile menu items in StaffProfilePage
This commit is contained in:
@@ -124,19 +124,16 @@ class StaffProfilePage extends StatelessWidget {
|
|||||||
ProfileMenuItem(
|
ProfileMenuItem(
|
||||||
icon: UiIcons.user,
|
icon: UiIcons.user,
|
||||||
label: i18n.menu_items.personal_info,
|
label: i18n.menu_items.personal_info,
|
||||||
completed: profile.phone != null,
|
|
||||||
onTap: () => Modular.to.pushPersonalInfo(),
|
onTap: () => Modular.to.pushPersonalInfo(),
|
||||||
),
|
),
|
||||||
ProfileMenuItem(
|
ProfileMenuItem(
|
||||||
icon: UiIcons.phone,
|
icon: UiIcons.phone,
|
||||||
label: i18n.menu_items.emergency_contact,
|
label: i18n.menu_items.emergency_contact,
|
||||||
completed: false,
|
|
||||||
onTap: () => Modular.to.pushEmergencyContact(),
|
onTap: () => Modular.to.pushEmergencyContact(),
|
||||||
),
|
),
|
||||||
ProfileMenuItem(
|
ProfileMenuItem(
|
||||||
icon: UiIcons.briefcase,
|
icon: UiIcons.briefcase,
|
||||||
label: i18n.menu_items.experience,
|
label: i18n.menu_items.experience,
|
||||||
completed: false,
|
|
||||||
onTap: () => Modular.to.pushExperience(),
|
onTap: () => Modular.to.pushExperience(),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
@@ -152,7 +149,6 @@ class StaffProfilePage extends StatelessWidget {
|
|||||||
ProfileMenuItem(
|
ProfileMenuItem(
|
||||||
icon: UiIcons.file,
|
icon: UiIcons.file,
|
||||||
label: i18n.menu_items.tax_forms,
|
label: i18n.menu_items.tax_forms,
|
||||||
completed: false,
|
|
||||||
onTap: () => Modular.to.pushTaxForms(),
|
onTap: () => Modular.to.pushTaxForms(),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user