From c6d96694f52cad3ead01a1341493bdf7ebf18e93 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Fri, 13 Jan 2023 13:32:11 +0200 Subject: [PATCH] Adjust IAP UI --- lib/ui/app/upgrade_dialog.dart | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/lib/ui/app/upgrade_dialog.dart b/lib/ui/app/upgrade_dialog.dart index 3f6f9b7b9..3765b6b62 100644 --- a/lib/ui/app/upgrade_dialog.dart +++ b/lib/ui/app/upgrade_dialog.dart @@ -126,22 +126,25 @@ class _UpgradeDialogState extends State { final List stack = []; if (_queryProductError == null) { stack.add( - Scrollbar( - thumbVisibility: true, - controller: _scrollController, - child: ListView( + Container( + width: double.maxFinite, + child: Scrollbar( + thumbVisibility: true, controller: _scrollController, - children: [ - if (Platform.isIOS) - Padding( - padding: const EdgeInsets.only(bottom: 16), - 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), + child: ListView( + controller: _scrollController, + children: [ + if (Platform.isIOS) + Padding( + padding: const EdgeInsets.only(bottom: 16), + 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(), + ], + ), ), ), );