cleared console problems
This commit is contained in:
@@ -35,7 +35,10 @@ class TabletNavigationWidget extends StatelessWidget {
|
||||
if (currentIndex == 0) {
|
||||
return;
|
||||
} else {
|
||||
Router.neglect(context, () => HomeRouteData().go(context));
|
||||
Router.neglect(
|
||||
context,
|
||||
() => const HomeRouteData().go(context),
|
||||
);
|
||||
context.read<HomeViewModel>().init();
|
||||
}
|
||||
},
|
||||
@@ -50,7 +53,10 @@ class TabletNavigationWidget extends StatelessWidget {
|
||||
if (currentIndex == 1) {
|
||||
return;
|
||||
} else {
|
||||
Router.neglect(context, () => TendersRouteData().go(context));
|
||||
Router.neglect(
|
||||
context,
|
||||
() => const TendersRouteData().go(context),
|
||||
);
|
||||
context.read<TendersViewModel>().getTenders();
|
||||
}
|
||||
},
|
||||
@@ -65,8 +71,8 @@ class TabletNavigationWidget extends StatelessWidget {
|
||||
if (currentIndex == 2) {
|
||||
return;
|
||||
} else {
|
||||
// context.pop();
|
||||
// Router.neglect(context, () => ProfileRouteData().go(context));
|
||||
// context.pop();
|
||||
// Router.neglect(context, () => ProfileRouteData().go(context));
|
||||
}
|
||||
},
|
||||
iconPath: AssetsManager.contracts,
|
||||
@@ -81,7 +87,10 @@ class TabletNavigationWidget extends StatelessWidget {
|
||||
return;
|
||||
} else {
|
||||
context.pop();
|
||||
Router.neglect(context, () => NotificationRouteData().go(context));
|
||||
Router.neglect(
|
||||
context,
|
||||
() => const NotificationRouteData().go(context),
|
||||
);
|
||||
}
|
||||
},
|
||||
iconPath: AssetsManager.notify,
|
||||
@@ -96,7 +105,10 @@ class TabletNavigationWidget extends StatelessWidget {
|
||||
return;
|
||||
} else {
|
||||
context.pop();
|
||||
Router.neglect(context, () => ProfileRouteData().go(context));
|
||||
Router.neglect(
|
||||
context,
|
||||
() => const ProfileRouteData().go(context),
|
||||
);
|
||||
}
|
||||
},
|
||||
iconPath: AssetsManager.profile,
|
||||
@@ -135,7 +147,7 @@ class TabletNavigationWidget extends StatelessWidget {
|
||||
color: isActive ? AppColors.primaryColor : AppColors.grey60,
|
||||
),
|
||||
),
|
||||
Spacer(),
|
||||
const Spacer(),
|
||||
Container(
|
||||
width: 4.0.w(),
|
||||
height: 64.0.h(),
|
||||
|
||||
Reference in New Issue
Block a user