some changes and fixes
This commit is contained in:
@@ -72,28 +72,6 @@ class _DesktopProfilePageState extends State<DesktopProfilePage> {
|
||||
children: [
|
||||
DesktopNavigationWidget(
|
||||
currentIndex: 2, // Tenders index
|
||||
onTabChanged: (index) {
|
||||
// Navigate to different screens based on index
|
||||
switch (index) {
|
||||
case 0:
|
||||
// Navigate to home
|
||||
Router.neglect(
|
||||
context,
|
||||
() => HomeRouteData().go(context),
|
||||
);
|
||||
break;
|
||||
case 1:
|
||||
// Navigate to profile
|
||||
Router.neglect(
|
||||
context,
|
||||
() => TendersRouteData().go(context),
|
||||
);
|
||||
break;
|
||||
case 2:
|
||||
// Already on profile
|
||||
break;
|
||||
}
|
||||
},
|
||||
),
|
||||
SizedBox(
|
||||
width: 740,
|
||||
|
||||
Reference in New Issue
Block a user