mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-12-23 10:11:52 +03:00
Use generic YubiKey image for inaccessible.
This commit is contained in:
parent
cb62874ed2
commit
b97d17eaf5
@ -16,6 +16,7 @@
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||
import 'package:yubico_authenticator/management/models.dart';
|
||||
import 'package:yubico_authenticator/widgets/product_image.dart';
|
||||
|
||||
import '../../core/models.dart';
|
||||
@ -53,7 +54,8 @@ class DeviceAvatar extends StatelessWidget {
|
||||
}
|
||||
return DeviceAvatar(
|
||||
radius: radius,
|
||||
child: const Icon(Icons.device_unknown),
|
||||
child: const ProductImage(
|
||||
name: '', formFactor: FormFactor.unknown, isNfc: false),
|
||||
);
|
||||
},
|
||||
nfcReader: (_) => DeviceAvatar(
|
||||
|
Loading…
Reference in New Issue
Block a user