mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-19 02:11:28 +03:00
desktop tab lable format: id/alias@hostname
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
@@ -266,7 +266,7 @@ class _PortForwardPageState extends State<PortForwardPage>
|
||||
}
|
||||
|
||||
void refreshTunnelConfig() async {
|
||||
String peer = await bind.mainGetPeer(id: widget.id);
|
||||
String peer = bind.mainGetPeerSync(id: widget.id);
|
||||
Map<String, dynamic> config = jsonDecode(peer);
|
||||
List<dynamic> infos = config['port_forwards'] as List;
|
||||
List<_PortForward> result = List.empty(growable: true);
|
||||
|
||||
Reference in New Issue
Block a user