Fix review comment issues.

This commit is contained in:
Dain Nilsson 2022-08-22 17:18:47 +02:00
parent f52fe40b01
commit 5d74e53ad6
No known key found for this signature in database
GPG Key ID: F04367096FBA95E8
2 changed files with 2 additions and 2 deletions

View File

@ -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 =

View File

@ -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) {