mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-14 14:46:13 +00:00
fix on close alert in loading
This commit is contained in:
1 parent
43452f48d9
commit
2a9ff10eae
3 files changed
+6
-4
No files matched your search
@@ -14,7 +14,7 @@ class MyTheme {
|
||||
}
|
||||
|
||||
void showLoading(String text, BuildContext context) {
|
||||
if (_hasDialog) {
|
||||
if (_hasDialog && context != null) {
|
||||
Navigator.pop(context);
|
||||
}
|
||||
dismissLoading();
|
||||
|
||||
Reference in new issue
Block a user