[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:
mKoonrad 2025-08-01 17:28:14 +02:00 committed by GitHub
parent 8876418177
commit 45f0ddc60f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 10 deletions

View File

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

View File

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

View File

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