mirror of
https://github.com/bitwarden/android.git
synced 2025-12-10 19:17:16 -06:00
[PM-24292] Correct redundant string interpolation (#5614)
Co-authored-by: Patrick Honkonen <1883101+SaintPatrck@users.noreply.github.com> Co-authored-by: Patrick Honkonen <phonkonen@bitwarden.com>
This commit is contained in:
parent
8876418177
commit
45f0ddc60f
@ -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) {
|
||||
|
||||
@ -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) {
|
||||
|
||||
@ -146,7 +146,7 @@
|
||||
<string name="syncing">Syncing...</string>
|
||||
<string name="syncing_complete">Syncing complete</string>
|
||||
<string name="two_step_login">Two-step login</string>
|
||||
<string name="unlock_with">Unlock with %1$s</string>
|
||||
<string name="unlock_with_biometrics">Unlock with Biometrics</string>
|
||||
<string name="unlock_with_pin">Unlock with PIN code</string>
|
||||
<string name="verification_code">Verification code</string>
|
||||
<string name="view_login">View login</string>
|
||||
@ -372,7 +372,6 @@ Scanning will happen automatically.</string>
|
||||
<string name="download">Download</string>
|
||||
<string name="login_expired">Your login session has expired.</string>
|
||||
<string name="biometrics_direction">Biometric verification</string>
|
||||
<string name="biometrics">Biometrics</string>
|
||||
<string name="biometrics_failed">Biometrics Failed</string>
|
||||
<string name="biometrics_decoding_failure">Log in with your Master Password or PIN then re-enable biometric login in Settings.</string>
|
||||
<string name="use_biometrics_to_unlock">Use biometrics to unlock</string>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user