mirror of
https://github.com/bitwarden/android.git
synced 2024-11-21 17:05:44 +03:00
PM-10628: Update pin dialog title (#4017)
This commit is contained in:
parent
36a5fee048
commit
0c83a1099f
4 changed files with 4 additions and 3 deletions
|
@ -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),
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue