Cleanup Dialogs. Padding bottom to progressbar only if it is visible

This commit is contained in:
grummbeer 2023-06-06 20:47:57 +02:00
parent 17a61b5103
commit 244057d8a4

View File

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