fix: Some controls in settings not accessible on iPhone 12
This commit is contained in:
parent
bc828713de
commit
38636418c5
1 changed files with 18 additions and 16 deletions
|
|
@ -15,7 +15,8 @@ class MaxWidthBody extends StatelessWidget {
|
|||
}) : super(key: key);
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return LayoutBuilder(
|
||||
return SafeArea(
|
||||
child: LayoutBuilder(
|
||||
builder: (context, constraints) {
|
||||
final padding = EdgeInsets.symmetric(
|
||||
horizontal: max(0, (constraints.maxWidth - maxWidth) / 2),
|
||||
|
|
@ -33,6 +34,7 @@ class MaxWidthBody extends StatelessWidget {
|
|||
child: child,
|
||||
);
|
||||
},
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue