Merge pull request #3161 from rustdesk/revert-3146-adjust-dialog-padding

Revert "unify padding of dialogs"
This commit is contained in:
RustDesk 2023-02-10 23:34:03 +08:00 committed by GitHub
commit de29ce8d45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -653,6 +653,8 @@ class CustomAlertDialog extends StatelessWidget {
child: AlertDialog(
scrollable: true,
title: title,
contentPadding: EdgeInsets.fromLTRB(
contentPadding ?? padding, 25, contentPadding ?? padding, 10),
content: ConstrainedBox(
constraints: contentBoxConstraints,
child: Theme(