mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-12-18 05:27:53 +08:00
update _fetchPeers
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
This commit is contained in:
parent
e0985ebb1c
commit
c00d4c1a7b
@ -157,11 +157,11 @@ class _ConnectionPageState extends State<ConnectionPage>
|
||||
setState(() {
|
||||
isPeersLoading = true;
|
||||
});
|
||||
await Future.delayed(Duration(milliseconds: 100));
|
||||
await _getAllPeers();
|
||||
setState(() {
|
||||
isPeersLoading = false;
|
||||
});
|
||||
await Future.delayed(Duration(milliseconds: 100));
|
||||
await _getAllPeers();
|
||||
setState(() {
|
||||
isPeersLoading = false;
|
||||
});
|
||||
}
|
||||
|
||||
Future<void> _getAllPeers() async {
|
||||
|
Loading…
Reference in New Issue
Block a user