diff --git a/android/app/src/main/kotlin/com/yubico/authenticator/oath/OathManager.kt b/android/app/src/main/kotlin/com/yubico/authenticator/oath/OathManager.kt index adcf5be5..4feb3fca 100644 --- a/android/app/src/main/kotlin/com/yubico/authenticator/oath/OathManager.kt +++ b/android/app/src/main/kotlin/com/yubico/authenticator/oath/OathManager.kt @@ -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 = diff --git a/lib/android/oath/state.dart b/lib/android/oath/state.dart index 2f81590d..fac2dadd 100755 --- a/lib/android/oath/state.dart +++ b/lib/android/oath/state.dart @@ -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) {