Merge pull request #4566 from grummbeer/cleanup-dialog-extra-space

Cleanup dialogs
This commit is contained in:
RustDesk 2023-06-07 02:56:56 +08:00 committed by GitHub
commit e8ea2f383f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 9 deletions

View File

@ -1136,9 +1136,6 @@ void _rdpDialog(String id) async {
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
const SizedBox(
height: 8.0,
),
Row(
children: [
isDesktop
@ -1207,7 +1204,7 @@ void _rdpDialog(String id) async {
)),
),
],
).marginOnly(bottom: isDesktop ? 8 : 0),
)
],
),
),

View File

@ -1976,9 +1976,6 @@ void changeSocks5Proxy() async {
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
const SizedBox(
height: 8.0,
),
Row(
children: [
ConstrainedBox(
@ -2033,9 +2030,10 @@ void changeSocks5Proxy() async {
)),
),
],
).marginOnly(bottom: 8),
),
Offstage(
offstage: !isInProgress, child: const LinearProgressIndicator())
offstage: !isInProgress,
child: const LinearProgressIndicator().marginOnly(top: 8))
],
),
),