From 898e549b0e4ffef0479abfc0f3289a6a891fe2b8 Mon Sep 17 00:00:00 2001 From: ggurdin Date: Tue, 16 Jan 2024 12:18:54 -0500 Subject: [PATCH] testing commenting out paywall code to see it that's the issue --- .../controllers/subscription_controller.dart | 26 +++++++++---------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/lib/pangea/controllers/subscription_controller.dart b/lib/pangea/controllers/subscription_controller.dart index 4188abfcab..5b99fc019d 100644 --- a/lib/pangea/controllers/subscription_controller.dart +++ b/lib/pangea/controllers/subscription_controller.dart @@ -13,8 +13,6 @@ import 'package:fluffychat/pangea/network/requests.dart'; import 'package:fluffychat/pangea/network/urls.dart'; import 'package:fluffychat/pangea/utils/error_handler.dart'; import 'package:fluffychat/pangea/utils/firebase_analytics.dart'; -import 'package:fluffychat/pangea/widgets/subscription/subscription_paywall.dart'; -import 'package:fluffychat/utils/platform_infos.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; @@ -147,18 +145,18 @@ class SubscriptionController extends BaseController { return; } if (!forceShow && isSubscribed) return; - await showModalBottomSheet( - isScrollControlled: true, - useRootNavigator: !PlatformInfos.isMobile, - clipBehavior: Clip.hardEdge, - context: context, - constraints: BoxConstraints( - maxHeight: PlatformInfos.isMobile ? 600 : 480, - ), - builder: (_) => SubscriptionPaywall( - pangeaController: _pangeaController, - ), - ); + // await showModalBottomSheet( + // isScrollControlled: true, + // useRootNavigator: !PlatformInfos.isMobile, + // clipBehavior: Clip.hardEdge, + // context: context, + // constraints: BoxConstraints( + // maxHeight: PlatformInfos.isMobile ? 600 : 480, + // ), + // builder: (_) => SubscriptionPaywall( + // pangeaController: _pangeaController, + // ), + // ); } catch (e, s) { ErrorHandler.logError(e: e, s: s); }