Update home page navigation to reinitialize ViewModel after navigating to liked tenders
This commit is contained in:
@@ -186,7 +186,9 @@ class DesktopHomePage extends StatelessWidget {
|
|||||||
width: 178,
|
width: 178,
|
||||||
height: 148,
|
height: 148,
|
||||||
onTap: () {
|
onTap: () {
|
||||||
const LikedTendersRouteData().push(context);
|
const LikedTendersRouteData().push(context).then((value) {
|
||||||
|
homeViewModel.init();
|
||||||
|
});
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -191,7 +191,9 @@ class TabletHomePage extends StatelessWidget {
|
|||||||
width: double.infinity,
|
width: double.infinity,
|
||||||
height: 148,
|
height: 148,
|
||||||
onTap: () {
|
onTap: () {
|
||||||
const LikedTendersRouteData().push(context);
|
const LikedTendersRouteData().push(context).then((value) {
|
||||||
|
homeViewModel.init();
|
||||||
|
});
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user