Fix horizontal padding bottom sheet modal
Signed-off-by: dab246 <tdvu@linagora.com> (cherry picked from commit 324fc75901b9f966a7eb3c4bbd0ff977dd4150c1)
This commit is contained in:
@@ -72,7 +72,12 @@ mixin MessageDialogActionMixin {
|
||||
if (showAsBottomSheet) {
|
||||
return await Get.bottomSheet(
|
||||
PointerInterceptor(
|
||||
child: (ConfirmDialogBuilder(imagePaths, showAsBottomSheet: true, listTextSpan: listTextSpan)
|
||||
child: (ConfirmDialogBuilder(
|
||||
imagePaths,
|
||||
showAsBottomSheet: true,
|
||||
listTextSpan: listTextSpan,
|
||||
maxWith: responsiveUtils.getSizeScreenShortestSide(context) - 16
|
||||
)
|
||||
..key(const Key('confirm_dialog_action'))
|
||||
..title(title ?? '')
|
||||
..content(message)
|
||||
@@ -107,10 +112,7 @@ mixin MessageDialogActionMixin {
|
||||
barrierColor: AppColor.colorDefaultCupertinoActionSheet,
|
||||
backgroundColor: Colors.transparent,
|
||||
enableDrag: true,
|
||||
constraints: BoxConstraints(
|
||||
maxWidth: responsiveUtils.getSizeScreenShortestSide(context) - 16
|
||||
),
|
||||
useSafeArea: true,
|
||||
ignoreSafeArea: false,
|
||||
shape: const RoundedRectangleBorder(borderRadius: BorderRadius.all(Radius.circular(18))),
|
||||
);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user