Adjust IAP UI

This commit is contained in:
Hillel Coren 2023-01-13 13:32:11 +02:00
parent 0618874d86
commit c6d96694f5
1 changed files with 17 additions and 14 deletions

View File

@ -126,22 +126,25 @@ class _UpgradeDialogState extends State<UpgradeDialog> {
final List<Widget> stack = <Widget>[]; final List<Widget> stack = <Widget>[];
if (_queryProductError == null) { if (_queryProductError == null) {
stack.add( stack.add(
Scrollbar( Container(
thumbVisibility: true, width: double.maxFinite,
controller: _scrollController, child: Scrollbar(
child: ListView( thumbVisibility: true,
controller: _scrollController, controller: _scrollController,
children: <Widget>[ child: ListView(
if (Platform.isIOS) controller: _scrollController,
Padding( children: <Widget>[
padding: const EdgeInsets.only(bottom: 16), if (Platform.isIOS)
child: Text( Padding(
'Payment will be charged to iTunes Account at confirmation of purchase. Subscription automatically renews unless auto-renew is turned off at least 24-hours before the end of the current period. Account will be charged for renewal within 24-hours prior to the end of the current period, and identify the cost of the renewal. Subscriptions may be managed by the user and auto-renewal may be turned off by going to the user\'s Account Settings after purchase.', padding: const EdgeInsets.only(bottom: 16),
style: TextStyle(fontSize: 12, color: Colors.grey), child: Text(
'Payment will be charged to iTunes Account at confirmation of purchase. Subscription automatically renews unless auto-renew is turned off at least 24-hours before the end of the current period. Account will be charged for renewal within 24-hours prior to the end of the current period, and identify the cost of the renewal. Subscriptions may be managed by the user and auto-renewal may be turned off by going to the user\'s Account Settings after purchase.',
style: TextStyle(fontSize: 12, color: Colors.grey),
),
), ),
), _buildProductList(),
_buildProductList(), ],
], ),
), ),
), ),
); );