mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-09 15:41:26 +03:00
close msgbox if loading
This commit is contained in:
@@ -41,7 +41,7 @@ class _RemotePageState extends State<RemotePage> {
|
||||
FFI.connect(widget.id);
|
||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||
SystemChrome.setEnabledSystemUIOverlays([]);
|
||||
showLoading('Connecting...');
|
||||
showLoading('Connecting...', context);
|
||||
_interval =
|
||||
Timer.periodic(Duration(milliseconds: 30), (timer) => interval());
|
||||
});
|
||||
@@ -530,7 +530,7 @@ void enterPasswordDialog(String id, BuildContext context) {
|
||||
var text = controller.text.trim();
|
||||
if (text == '') return;
|
||||
FFI.login(text, remember);
|
||||
showLoading('Logging in...');
|
||||
showLoading('Logging in...', context);
|
||||
Navigator.pop(context);
|
||||
},
|
||||
child: Text('OK'),
|
||||
|
||||
Reference in New Issue
Block a user