mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-25 23:14:18 +03:00
Fix review comment issues.
This commit is contained in:
parent
f52fe40b01
commit
5d74e53ad6
@ -310,7 +310,7 @@ class OathManager(
|
||||
calculateOathCodes(it).model(it.deviceId)
|
||||
)
|
||||
}
|
||||
} ?: throw throw IllegalStateException("Cannot refresh for nfc key")
|
||||
} ?: throw IllegalStateException("Cannot refresh for nfc key")
|
||||
}
|
||||
|
||||
private suspend fun calculate(credentialId: String): String =
|
||||
|
@ -66,7 +66,7 @@ class _AndroidOathStateNotifier extends OathStateNotifier {
|
||||
_log.debug('applet unlocked');
|
||||
|
||||
final unlocked = unlockResponse['unlocked'] == true;
|
||||
final remembered = unlockResponse['emembered'] == true;
|
||||
final remembered = unlockResponse['remembered'] == true;
|
||||
|
||||
return Pair(unlocked, remembered);
|
||||
} on PlatformException catch (e) {
|
||||
|
Loading…
Reference in New Issue
Block a user