mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: add more padding in bottom sheet widget (#4542)
This commit is contained in:
@ -114,12 +114,10 @@ Future<T?> showMobileBottomSheet<T>(
|
|||||||
return children.first;
|
return children.first;
|
||||||
}
|
}
|
||||||
|
|
||||||
// not full-screen mode
|
// add default padding
|
||||||
if (MediaQuery.of(context).padding.bottom == 0) {
|
children.add(
|
||||||
children.add(
|
VSpace(MediaQuery.of(context).padding.bottom == 0 ? 28.0 : 16.0),
|
||||||
const VSpace(16),
|
);
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
return SafeArea(
|
return SafeArea(
|
||||||
child: Column(
|
child: Column(
|
||||||
|
Reference in New Issue
Block a user