mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-29 02:07:39 +08:00
PurchaseScreen: Wrap the bottom buttons
Sometimes the available screen space is not enough for them to be on the same line.
This commit is contained in:
@ -58,7 +58,7 @@ class _PurchaseScreenState extends State<PurchaseScreen> {
|
||||
const SizedBox(height: 32.0),
|
||||
Padding(
|
||||
padding: const EdgeInsets.fromLTRB(16.0, 0.0, 16.0, 16.0),
|
||||
child: Row(
|
||||
child: Wrap(
|
||||
children: [
|
||||
RestorePurchaseButton(),
|
||||
OutlineButton(
|
||||
@ -72,7 +72,8 @@ class _PurchaseScreenState extends State<PurchaseScreen> {
|
||||
},
|
||||
),
|
||||
],
|
||||
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
||||
alignment: WrapAlignment.spaceEvenly,
|
||||
direction: Axis.horizontal,
|
||||
),
|
||||
),
|
||||
],
|
||||
|
Reference in New Issue
Block a user