Merge pull request #40 from pangeachat/freezing-fix

adding some of the paywall body back
pull/1011/head
ggurdin 2 years ago committed by GitHub
commit be962d38c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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,
// ),
],
),
),
);
}

Loading…
Cancel
Save