mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-12-23 10:11:52 +03:00
Fix copy-paste error
This commit is contained in:
parent
1156550879
commit
00705e736e
@ -98,8 +98,8 @@ class DeviceInfo with _$DeviceInfo {
|
||||
|
||||
/// Gets the tuple fipsCapable, fipsApproved for the given capability.
|
||||
(bool fipsCapable, bool fipsApproved) getFipsStatus(Capability capability) {
|
||||
final capable = fipsCapable & Capability.oath.value != 0;
|
||||
final approved = capable && fipsApproved & Capability.oath.value != 0;
|
||||
final capable = fipsCapable & capability.value != 0;
|
||||
final approved = capable && fipsApproved & capability.value != 0;
|
||||
return (capable, approved);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user