Fix copy-paste error

This commit is contained in:
Dain Nilsson 2024-07-10 15:43:23 +02:00
parent 1156550879
commit 00705e736e
No known key found for this signature in database
GPG Key ID: F04367096FBA95E8

View File

@ -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);
}
}