diff --git a/lib/pangea/widgets/subscription/subscription_paywall.dart b/lib/pangea/widgets/subscription/subscription_paywall.dart index e8825bdaa..2e8d6101e 100644 --- a/lib/pangea/widgets/subscription/subscription_paywall.dart +++ b/lib/pangea/widgets/subscription/subscription_paywall.dart @@ -26,33 +26,34 @@ class SubscriptionPaywall extends StatelessWidget { textAlign: TextAlign.center, ), ), - body: const Padding( - padding: EdgeInsets.all(20), - // child: ListView( - // children: [ - // if (pangeaController.matrixState.client.rooms.length > 1) ...[ - // Text( - // L10n.of(context)!.welcomeBack, - // textAlign: TextAlign.center, - // style: const TextStyle(fontSize: 16), - // ), - // const SizedBox(height: 20), - // ], - // Text( - // L10n.of(context)!.subscriptionDesc, - // textAlign: TextAlign.center, - // style: const TextStyle(fontSize: 16), - // ), - // const SizedBox(height: 20), - // pangeaController.userController.inTrialWindow - // ? FreeTrialCard( - // pangeaController: pangeaController, - // ) - // : SubscriptionOptions( - // pangeaController: pangeaController, - // ), - // ], - // ), + body: Padding( + padding: const EdgeInsets.all(20), + child: ListView( + children: [ + // if (pangeaController.matrixState.client.rooms.length > 1) ...[ + // Text( + // L10n.of(context)!.welcomeBack, + // textAlign: TextAlign.center, + // style: const TextStyle(fontSize: 16), + // ), + // const SizedBox(height: 20), + // ], + Text( + L10n.of(context)!.subscriptionDesc, + textAlign: TextAlign.center, + style: const TextStyle(fontSize: 16), + ), + const SizedBox(height: 20), + pangeaController.userController.inTrialWindow + ? FreeTrialCard( + pangeaController: pangeaController, + ) + : const SizedBox.shrink(), + // : SubscriptionOptions( + // pangeaController: pangeaController, + // ), + ], + ), ), ); }