Don't show user id no device is found

This commit is contained in:
2026-01-19 11:19:52 +01:00
parent 8de8cc2283
commit 198aac5054

View File

@@ -162,7 +162,9 @@ class _MainViewState extends State<MainView> {
), ),
const SizedBox(height: 4), const SizedBox(height: 4),
Text( Text(
'ID: ${userInfo.id}', _devices.isNotEmpty
? 'DMR ID: ${_devices.first.id}'
: 'No devices',
style: Theme.of(context).textTheme.bodyMedium?.copyWith( style: Theme.of(context).textTheme.bodyMedium?.copyWith(
color: Theme.of(context) color: Theme.of(context)
.colorScheme .colorScheme