From 198aac5054c0a5cf03fe9625b5fa3a7e020cfe98 Mon Sep 17 00:00:00 2001 From: Marcus Kida Date: Mon, 19 Jan 2026 11:19:52 +0100 Subject: [PATCH] Don't show user id no device is found --- lib/views/main_view.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/views/main_view.dart b/lib/views/main_view.dart index 4675e7d..1eb3797 100644 --- a/lib/views/main_view.dart +++ b/lib/views/main_view.dart @@ -162,7 +162,9 @@ class _MainViewState extends State { ), const SizedBox(height: 4), Text( - 'ID: ${userInfo.id}', + _devices.isNotEmpty + ? 'DMR ID: ${_devices.first.id}' + : 'No devices', style: Theme.of(context).textTheme.bodyMedium?.copyWith( color: Theme.of(context) .colorScheme