From fa1bb0fcd772042d2f0759f031885e370ca1d269 Mon Sep 17 00:00:00 2001 From: AshutoshPatole Date: Thu, 18 Nov 2021 20:10:12 +0530 Subject: [PATCH] cart navigation bug fix --- lib/widgets/smart_widgets/view_models/navigation.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/widgets/smart_widgets/view_models/navigation.dart b/lib/widgets/smart_widgets/view_models/navigation.dart index cfe05fb..6e5c6db 100644 --- a/lib/widgets/smart_widgets/view_models/navigation.dart +++ b/lib/widgets/smart_widgets/view_models/navigation.dart @@ -20,7 +20,7 @@ class Navigation extends BaseViewModel { final _auth = FirebaseAuth.instance; navigateToCartPage() async { - _auth.currentUser?.phoneNumber != null + _auth.currentUser?.uid != null ? _navigationService.navigateTo( cartPageViewRoute, )