diff --git a/lib/main.dart b/lib/main.dart index 2b4a7e6..4be7ae9 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -637,17 +637,6 @@ class _MainScreenState extends State { @override Widget build(BuildContext context) { return - // UpgradeAlert( - // debugLogging: true, - // canDismissDialog: false, - // countryCode: 'in', - - // // durationToAlertAgain: Duration(seconds: 1), - // showIgnore: false, - // showLater: false, - // // debugAlwaysUpgrade: true, - // // debugDisplayOnce: false, - // child: BlocListener( bloc: widget.globalAuthBloc, listener: (context, state) { @@ -657,12 +646,7 @@ class _MainScreenState extends State { widget.cartFunctionBloc.add(GetCart()); } }, - // listenWhen: (previous, current) { - // if (previous is Unauthenticated && current is Unauthenticated) { - // return false; - // } - // return true; - // }, + child: FutureBuilder( future: LocalDataService().getAuthTokens(), builder: (ctx, snapshot) {