TF-3585 Add bottom margin read receipt dialog
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
@@ -40,7 +40,7 @@ class ConfirmDialogButton extends StatelessWidget {
|
||||
),
|
||||
alignment: Alignment.center,
|
||||
padding: maxLines == 1
|
||||
? null
|
||||
? const EdgeInsets.symmetric(horizontal: 8)
|
||||
: padding ?? const EdgeInsets.symmetric(horizontal: 8, vertical: 12),
|
||||
child: Text(
|
||||
label,
|
||||
|
||||
@@ -46,6 +46,7 @@ mixin MessageDialogActionMixin {
|
||||
bool isArrangeActionButtonsVertical = false,
|
||||
int? titleActionButtonMaxLines,
|
||||
bool useIconAsBasicLogo = false,
|
||||
EdgeInsetsGeometry? dialogMargin,
|
||||
}
|
||||
) async {
|
||||
final responsiveUtils = Get.find<ResponsiveUtils>();
|
||||
@@ -111,6 +112,7 @@ mixin MessageDialogActionMixin {
|
||||
textContent: message,
|
||||
title: title ?? '',
|
||||
iconWidget: icon,
|
||||
margin: dialogMargin,
|
||||
widthDialog: responsiveUtils.getSizeScreenWidth(context),
|
||||
confirmBackgroundButtonColor: actionButtonColor,
|
||||
cancelBackgroundButtonColor: cancelButtonColor,
|
||||
|
||||
Reference in New Issue
Block a user