diff --git a/packages/smooth_app/lib/generic_lib/dialogs/smooth_alert_dialog.dart b/packages/smooth_app/lib/generic_lib/dialogs/smooth_alert_dialog.dart index e6d4187de3d..55a85f33982 100644 --- a/packages/smooth_app/lib/generic_lib/dialogs/smooth_alert_dialog.dart +++ b/packages/smooth_app/lib/generic_lib/dialogs/smooth_alert_dialog.dart @@ -103,10 +103,16 @@ class SmoothAlertDialog extends StatelessWidget { } Padding _buildBottomBar(EdgeInsetsDirectional padding) { + final bool singleButton = + positiveAction != null && negativeAction == null || + negativeAction != null && positiveAction == null; + return Padding( padding: EdgeInsetsDirectional.only( top: padding.bottom, - start: actionsAxis == Axis.horizontal ? SMALL_SPACE : 0.0, + start: (actionsAxis == Axis.horizontal || singleButton) + ? SMALL_SPACE + : 0.0, end: positiveAction != null && negativeAction != null ? 0.0 : SMALL_SPACE,