refactors on codes
This commit is contained in:
@@ -35,6 +35,7 @@ class TabletNavigationWidget extends StatelessWidget {
|
||||
if (currentIndex == 0) {
|
||||
return;
|
||||
} else {
|
||||
context.pop();
|
||||
Router.neglect(
|
||||
context,
|
||||
() => const HomeRouteData().go(context),
|
||||
@@ -53,6 +54,7 @@ class TabletNavigationWidget extends StatelessWidget {
|
||||
if (currentIndex == 1) {
|
||||
return;
|
||||
} else {
|
||||
context.pop();
|
||||
Router.neglect(
|
||||
context,
|
||||
() => const TendersRouteData().go(context),
|
||||
|
||||
Reference in New Issue
Block a user