PM-10628: Update pin dialog title (#4017)

This commit is contained in:
David Perez 2024-10-02 12:57:34 -05:00 committed by GitHub
parent 36a5fee048
commit 0c83a1099f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 3 deletions

View file

@ -84,7 +84,7 @@ fun BitwardenUnlockWithPinSwitch(
shouldShowPinConfirmationDialog -> { shouldShowPinConfirmationDialog -> {
BitwardenTwoButtonDialog( BitwardenTwoButtonDialog(
title = stringResource(id = R.string.unlock_with_pin), title = stringResource(id = R.string.require_master_password_on_app_restart),
message = stringResource(id = R.string.pin_require_master_password_restart), message = stringResource(id = R.string.pin_require_master_password_restart),
confirmButtonText = stringResource(id = R.string.yes), confirmButtonText = stringResource(id = R.string.yes),
dismissButtonText = stringResource(id = R.string.no), dismissButtonText = stringResource(id = R.string.no),

View file

@ -456,6 +456,7 @@ Scanning will happen automatically.</string>
<string name="copy_notes">Copy note</string> <string name="copy_notes">Copy note</string>
<string name="exit">Exit</string> <string name="exit">Exit</string>
<string name="exit_confirmation">Are you sure you want to exit Bitwarden?</string> <string name="exit_confirmation">Are you sure you want to exit Bitwarden?</string>
<string name="require_master_password_on_app_restart">Require master password on app restart?</string>
<string name="pin_require_master_password_restart">Do you want to require unlocking with your master password when the application is restarted?</string> <string name="pin_require_master_password_restart">Do you want to require unlocking with your master password when the application is restarted?</string>
<string name="black">Black</string> <string name="black">Black</string>
<string name="nord">Nord</string> <string name="nord">Nord</string>

View file

@ -343,7 +343,7 @@ class SetupUnlockScreenTest : BaseComposeTest() {
.performClick() .performClick()
composeTestRule composeTestRule
.onAllNodesWithText(text = "Unlock with PIN code") .onAllNodesWithText(text = "Require master password on app restart?")
.filterToOne(hasAnyAncestor(isDialog())) .filterToOne(hasAnyAncestor(isDialog()))
.assertIsDisplayed() .assertIsDisplayed()
composeTestRule composeTestRule

View file

@ -370,7 +370,7 @@ class AccountSecurityScreenTest : BaseComposeTest() {
.performClick() .performClick()
composeTestRule composeTestRule
.onAllNodesWithText("Unlock with PIN code") .onAllNodesWithText("Require master password on app restart?")
.filterToOne(hasAnyAncestor(isDialog())) .filterToOne(hasAnyAncestor(isDialog()))
.assertIsDisplayed() .assertIsDisplayed()
composeTestRule composeTestRule