Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

show id if alias exists

Sahil Yeolef4b0b39beb77
diff --git a/flutter/lib/desktop/pages/connection_page.dart b/flutter/lib/desktop/pages/connection_page.dart
index 0eca17eac..b6ac07672 100644
--- a/flutter/lib/desktop/pages/connection_page.dart
+++ b/flutter/lib/desktop/pages/connection_page.dart
@@ -457,6 +457,16 @@ class _ConnectionPageState extends State<ConnectionPage>
overflow: TextOverflow.ellipsis,
style: Theme.of(context).textTheme.titleSmall,
)),
+ !peer.alias.isEmpty?
+ Padding(
+ padding: const EdgeInsets.only(left: 5, right: 5),
+ child: Text(
+ "(${peer.id})",
+ style: greyStyle,
+ overflow: TextOverflow.ellipsis,
+ )
+ )
+ : Container(),
]).marginOnly(top: 2),
Align(
alignment: Alignment.centerLeft,