An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.
Rust androidanydeskdartflatpakflutterflutter-appsioslinuxmacosp2prdpremote-controlremote-desktoprustrust-langteamviewervncwaylandwindows
feat(ui): show alias instead of peerId in terminal tab label (#13332)
alonginwindd4410e78e2ff
diff --git a/flutter/lib/desktop/pages/terminal_tab_page.dart b/flutter/lib/desktop/pages/terminal_tab_page.dartindex 754b309ae..00b0758d0 100644--- a/flutter/lib/desktop/pages/terminal_tab_page.dart+++ b/flutter/lib/desktop/pages/terminal_tab_page.dart@@ -61,9 +61,11 @@ class _TerminalTabPageState extends State<TerminalTabPage> {String? connToken,}) {final tabKey = '${peerId}_$terminalId';+ final alias = bind.mainGetPeerOptionSync(id: peerId, key: 'alias');+ final tabLabel = alias.isNotEmpty ? '$alias #$terminalId' : '$peerId #$terminalId';return TabInfo(key: tabKey,- label: '$peerId #$terminalId',+ label: tabLabel,selectedIcon: selectedIcon,unselectedIcon: unselectedIcon,onTabCloseButton: () async {