mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-20 22:03:20 +03:00
replace offstage with if-else for LinearProgressIndicator in dialog
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
@@ -2065,9 +2065,9 @@ void changeSocks5Proxy() async {
|
||||
),
|
||||
],
|
||||
),
|
||||
Offstage(
|
||||
offstage: !isInProgress,
|
||||
child: const LinearProgressIndicator().marginOnly(top: 8))
|
||||
// NOT use Offstage to wrap LinearProgressIndicator
|
||||
if (isInProgress)
|
||||
const LinearProgressIndicator().marginOnly(top: 8),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user