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, textAlign: TextAlign.center,
), ),
), ),
body: const Padding( body: Padding(
padding: EdgeInsets.all(20), padding: const EdgeInsets.all(20),
// child: ListView( child: ListView(
// children: [ children: [
// if (pangeaController.matrixState.client.rooms.length > 1) ...[ // if (pangeaController.matrixState.client.rooms.length > 1) ...[
// Text( // Text(
// L10n.of(context)!.welcomeBack, // L10n.of(context)!.welcomeBack,
// textAlign: TextAlign.center, // textAlign: TextAlign.center,
// style: const TextStyle(fontSize: 16), // style: const TextStyle(fontSize: 16),
// ), // ),
// const SizedBox(height: 20), // const SizedBox(height: 20),
// ], // ],
// Text( Text(
// L10n.of(context)!.subscriptionDesc, L10n.of(context)!.subscriptionDesc,
// textAlign: TextAlign.center, textAlign: TextAlign.center,
// style: const TextStyle(fontSize: 16), style: const TextStyle(fontSize: 16),
// ), ),
// const SizedBox(height: 20), const SizedBox(height: 20),
// pangeaController.userController.inTrialWindow pangeaController.userController.inTrialWindow
// ? FreeTrialCard( ? FreeTrialCard(
// pangeaController: pangeaController, pangeaController: pangeaController,
// ) )
// : SubscriptionOptions( : const SizedBox.shrink(),
// pangeaController: pangeaController, // : SubscriptionOptions(
// ), // pangeaController: pangeaController,
// ], // ),
// ), ],
),
), ),
); );
} }

Loading…
Cancel
Save