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, )