mirror of
https://github.com/bitwarden/android.git
synced 2024-11-21 17:05:44 +03:00
PM-13021: Update no item found copy for totp (#4115)
This commit is contained in:
parent
be0ebb9b3f
commit
36a718753d
3 changed files with 3 additions and 2 deletions
|
@ -201,7 +201,7 @@ fun VaultData.toViewState(
|
|||
}
|
||||
VaultItemListingState.ViewState.NoItems(
|
||||
header = totpData
|
||||
?.let { R.string.no_items_for_uri.asText(it.issuer ?: it.accountName ?: "--") }
|
||||
?.let { R.string.no_items_for_vault.asText(it.issuer ?: it.accountName ?: "--") }
|
||||
?: R.string.save_and_protect_your_data.asText(),
|
||||
message = message,
|
||||
shouldShowAddButton = shouldShowAddButton,
|
||||
|
|
|
@ -195,6 +195,7 @@
|
|||
<string name="translations">Translations</string>
|
||||
<string name="items_for_uri">Items for %1$s</string>
|
||||
<string name="no_items_for_uri">There are no items in your vault for %1$s.</string>
|
||||
<string name="no_items_for_vault">There are no items in your vault that match “%1$s”</string>
|
||||
<string name="search_for_a_login_or_add_a_new_login">Search for a login or add a new login</string>
|
||||
<string name="bitwarden_autofill_service_overlay">When you select an input field and see a Bitwarden auto-fill overlay, you can tap it to launch the auto-fill service.</string>
|
||||
<string name="bitwarden_autofill_service_notification_content">Tap this notification to auto-fill an item from your vault.</string>
|
||||
|
|
|
@ -748,7 +748,7 @@ class VaultItemListingDataExtensionsTest {
|
|||
// Totp
|
||||
assertEquals(
|
||||
VaultItemListingState.ViewState.NoItems(
|
||||
header = R.string.no_items_for_uri.asText("issuer"),
|
||||
header = R.string.no_items_for_vault.asText("issuer"),
|
||||
message = R.string.search_for_a_login_or_add_a_new_login.asText(),
|
||||
shouldShowAddButton = false,
|
||||
buttonText = R.string.add_an_item.asText(),
|
||||
|
|
Loading…
Reference in a new issue