diff --git a/app/src/main/java/com/x8bit/bitwarden/ui/vault/feature/itemlisting/util/VaultItemListingDataExtensions.kt b/app/src/main/java/com/x8bit/bitwarden/ui/vault/feature/itemlisting/util/VaultItemListingDataExtensions.kt index 67d09b720..450e6ca66 100644 --- a/app/src/main/java/com/x8bit/bitwarden/ui/vault/feature/itemlisting/util/VaultItemListingDataExtensions.kt +++ b/app/src/main/java/com/x8bit/bitwarden/ui/vault/feature/itemlisting/util/VaultItemListingDataExtensions.kt @@ -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, diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 1afbb68af..68105a12d 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -195,6 +195,7 @@ Translations Items for %1$s There are no items in your vault for %1$s. + There are no items in your vault that match ā€œ%1$sā€ Search for a login or add a new login When you select an input field and see a Bitwarden auto-fill overlay, you can tap it to launch the auto-fill service. Tap this notification to auto-fill an item from your vault. diff --git a/app/src/test/java/com/x8bit/bitwarden/ui/vault/feature/itemlisting/util/VaultItemListingDataExtensionsTest.kt b/app/src/test/java/com/x8bit/bitwarden/ui/vault/feature/itemlisting/util/VaultItemListingDataExtensionsTest.kt index cb378e826..891e74680 100644 --- a/app/src/test/java/com/x8bit/bitwarden/ui/vault/feature/itemlisting/util/VaultItemListingDataExtensionsTest.kt +++ b/app/src/test/java/com/x8bit/bitwarden/ui/vault/feature/itemlisting/util/VaultItemListingDataExtensionsTest.kt @@ -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(),