mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-08-19 21:17:55 +08:00
try fix waiting for image when already shown
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
@ -689,9 +689,12 @@ class OverlayDialogManager {
|
||||
String showLoading(String text,
|
||||
{bool clickMaskDismiss = false,
|
||||
bool showCancel = true,
|
||||
VoidCallback? onCancel}) {
|
||||
final tag = _tagCount.toString();
|
||||
_tagCount++;
|
||||
VoidCallback? onCancel,
|
||||
String? tag}) {
|
||||
if (tag == null) {
|
||||
tag = _tagCount.toString();
|
||||
_tagCount++;
|
||||
}
|
||||
show((setState, close, context) {
|
||||
cancel() {
|
||||
dismissAll();
|
||||
|
Reference in New Issue
Block a user