File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -213,14 +213,14 @@ class AccountSelectorDialog extends StatelessWidget {
213213
214214 @override
215215 Widget build (BuildContext context) {
216- final size = AppSize (context).size ;
216+ final appHeight = AppHeight (context).height ;
217217 final cardHeight = 152.0 ;
218218 final spacing = 24.0 ;
219219 final ypad = 32.0 ;
220220 final intrinsicHeight = accounts.length * cardHeight +
221221 (accounts.length - 1 ) * spacing +
222222 2 * ypad;
223- final height = min (size.height * 0.7 , intrinsicHeight);
223+ final height = min (appHeight * 0.7 , intrinsicHeight);
224224
225225 return SizedBox (
226226 height: height,
Original file line number Diff line number Diff line change @@ -596,11 +596,11 @@ class _ConnectPageState extends State<ConnectPage>
596596 }
597597
598598 bool get isShort {
599- return AppSize (context).shorterThan (Size (0 , 700 ));
599+ return AppHeight (context).shorterThan (Size (0 , 700 ));
600600 }
601601
602602 bool get isReallyShort {
603- return AppSize (context).shorterThan (Size (0 , 590 ));
603+ return AppHeight (context).shorterThan (Size (0 , 590 ));
604604 }
605605
606606 @override
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ class _PurchasePageState extends State<PurchasePage> {
9898 constraints: BoxConstraints (maxWidth: 500 ),
9999 child: Column (
100100 children: < Widget > [
101- if (AppSize (context)
101+ if (AppHeight (context)
102102 .tallerThan (AppSize .iphone_12_pro_max))
103103 pady (64 ),
104104 pady (12 ),
You can’t perform that action at this time.
0 commit comments