diff --git a/app/src/main/kotlin/com/x8bit/bitwarden/ui/platform/components/toggle/BitwardenUnlockWithBiometricsSwitch.kt b/app/src/main/kotlin/com/x8bit/bitwarden/ui/platform/components/toggle/BitwardenUnlockWithBiometricsSwitch.kt index 231fcd6337..1357f19c20 100644 --- a/app/src/main/kotlin/com/x8bit/bitwarden/ui/platform/components/toggle/BitwardenUnlockWithBiometricsSwitch.kt +++ b/app/src/main/kotlin/com/x8bit/bitwarden/ui/platform/components/toggle/BitwardenUnlockWithBiometricsSwitch.kt @@ -39,10 +39,7 @@ fun BitwardenUnlockWithBiometricsSwitch( } BitwardenSwitch( modifier = modifier, - label = stringResource( - id = BitwardenString.unlock_with, - stringResource(id = BitwardenString.biometrics), - ), + label = stringResource(BitwardenString.unlock_with_biometrics), isChecked = isChecked, onCheckedChange = { toggled -> if (toggled) { diff --git a/authenticator/src/main/kotlin/com/bitwarden/authenticator/ui/platform/feature/settings/SettingsScreen.kt b/authenticator/src/main/kotlin/com/bitwarden/authenticator/ui/platform/feature/settings/SettingsScreen.kt index b3afa8aa1e..5c40de907b 100644 --- a/authenticator/src/main/kotlin/com/bitwarden/authenticator/ui/platform/feature/settings/SettingsScreen.kt +++ b/authenticator/src/main/kotlin/com/bitwarden/authenticator/ui/platform/feature/settings/SettingsScreen.kt @@ -444,10 +444,7 @@ private fun UnlockWithBiometricsRow( var showBiometricsPrompt by rememberSaveable { mutableStateOf(false) } BitwardenWideSwitch( modifier = modifier, - label = stringResource( - id = BitwardenString.unlock_with, - stringResource(id = BitwardenString.biometrics), - ), + label = stringResource(BitwardenString.unlock_with_biometrics), isChecked = isChecked || showBiometricsPrompt, onCheckedChange = { toggled -> if (toggled) { diff --git a/ui/src/main/res/values/strings.xml b/ui/src/main/res/values/strings.xml index fe88bf17ac..63ac0571a5 100644 --- a/ui/src/main/res/values/strings.xml +++ b/ui/src/main/res/values/strings.xml @@ -146,7 +146,7 @@ Syncing... Syncing complete Two-step login - Unlock with %1$s + Unlock with Biometrics Unlock with PIN code Verification code View login @@ -372,7 +372,6 @@ Scanning will happen automatically. Download Your login session has expired. Biometric verification - Biometrics Biometrics Failed Log in with your Master Password or PIN then re-enable biometric login in Settings. Use biometrics to unlock