mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-12-24 02:33:44 +03:00
remove not needed code
This commit is contained in:
parent
01004eb3e5
commit
527d7129b4
@ -45,10 +45,6 @@ enum Application {
|
||||
|
||||
Availability getAvailability(YubiKeyData data) {
|
||||
|
||||
if (data.info.isSky && this != Application.fido) {
|
||||
return Availability.unsupported;
|
||||
}
|
||||
|
||||
if (this == Application.management) {
|
||||
final version = data.info.version;
|
||||
final available = (version.major > 4 || // YK5 and up
|
||||
|
Loading…
Reference in New Issue
Block a user