mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-12-18 13:37:52 +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(() {
|
setState(() {
|
||||||
isPeersLoading = true;
|
isPeersLoading = true;
|
||||||
});
|
});
|
||||||
await Future.delayed(Duration(milliseconds: 100));
|
await Future.delayed(Duration(milliseconds: 100));
|
||||||
await _getAllPeers();
|
await _getAllPeers();
|
||||||
setState(() {
|
setState(() {
|
||||||
isPeersLoading = false;
|
isPeersLoading = false;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
Future<void> _getAllPeers() async {
|
Future<void> _getAllPeers() async {
|
||||||
|
Loading…
Reference in New Issue
Block a user