Refactor navigation and remove unused navigator extensions across staff features
- Removed background color from CreateOrderView, OneTimeOrderView, and RapidOrderView. - Updated navigation paths in OneTimeOrderView and other staff authentication pages to use new constants. - Deleted unused navigator extensions for staff authentication, home, profile, and shifts. - Refactored navigation in StaffMainModule to use new path constants. - Cleaned up imports and adjusted navigation calls in various staff-related pages and widgets.
This commit is contained in:
@@ -27,9 +27,9 @@ class AppModule extends Module {
|
||||
@override
|
||||
void routes(RouteManager r) {
|
||||
// Set the initial route to the authentication module
|
||||
r.module("/", module: staff_authentication.StaffAuthenticationModule());
|
||||
r.module(StaffPaths.root, module: staff_authentication.StaffAuthenticationModule());
|
||||
|
||||
r.module('/worker-main', module: staff_main.StaffMainModule());
|
||||
r.module(StaffPaths.main, module: staff_main.StaffMainModule());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user