mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-24 20:59:37 +08:00
Merge pull request #5303 from 21pages/fix
remove extra dismiss waiting for image
This commit is contained in:
commit
47956871e8
@ -1901,10 +1901,5 @@ Future<void> initializeCursorAndCanvas(FFI ffi) async {
|
||||
}
|
||||
|
||||
clearWaitingForImage(OverlayDialogManager? dialogManager, SessionID sessionId) {
|
||||
final durations = [0, 100, 500, 1000, 2000];
|
||||
for (var duration in durations) {
|
||||
Future.delayed(Duration(milliseconds: duration), () {
|
||||
dialogManager?.dismissByTag('$sessionId-waiting-for-image');
|
||||
});
|
||||
}
|
||||
dialogManager?.dismissByTag('$sessionId-waiting-for-image');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user