mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-12-27 20:25:28 +03:00
Use FilterQuality.medium for device images.
This commit is contained in:
parent
4a4580cd6a
commit
3433972023
@ -38,5 +38,9 @@ Image getProductImage(DeviceInfo info, String name) {
|
||||
: _imagesForFormFactor[info.formFactor];
|
||||
image ??= 'yk5series';
|
||||
|
||||
return Image.asset('assets/product-images/$image.png');
|
||||
return Image.asset(
|
||||
'assets/product-images/$image.png',
|
||||
// Medium provides the best results when scaling down
|
||||
filterQuality: FilterQuality.medium,
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user