Skip to content

Commit 172f0a3

Browse files
author
Sterling Long
committed
Added safe area to modal for phones with notches
1 parent f7a5850 commit 172f0a3

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

lib/widgets/grid_list/grid_list.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class GridList<T> extends StatelessWidget {
2929
this.heightOverride,
3030
this.longBottomSheetHeightOverride,
3131
this.longBottomSheetAspectRatio = 0.79,
32-
this.itemAspectRatio = 0.75,
32+
this.itemAspectRatio = 0.72,
3333
});
3434

3535
final GridListState state;

lib/widgets/walletconnect_modal.dart

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,10 @@ class _WalletConnectModalState extends State<WalletConnectModal> {
214214
// ),
215215
child: Stack(
216216
children: [
217-
TransitionContainer(
218-
child: _buildBody(),
217+
SafeArea(
218+
child: TransitionContainer(
219+
child: _buildBody(),
220+
),
219221
),
220222
const WalletConnectModalToastManager(),
221223
],

0 commit comments

Comments
 (0)