Don't show user id no device is found
This commit is contained in:
@@ -162,7 +162,9 @@ class _MainViewState extends State<MainView> {
|
||||
),
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user