From 9ee002035861e8ebb7c7cd7080c2a49e2b150065 Mon Sep 17 00:00:00 2001 From: Patrick Honkonen Date: Tue, 9 Apr 2024 15:02:01 -0400 Subject: [PATCH] Correct edit item field labels Removed unused resources --- .../ui/authenticator/feature/edititem/EditItemScreen.kt | 4 ++-- app/src/main/res/values/strings.xml | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/app/src/main/kotlin/com/x8bit/bitwarden/authenticator/ui/authenticator/feature/edititem/EditItemScreen.kt b/app/src/main/kotlin/com/x8bit/bitwarden/authenticator/ui/authenticator/feature/edititem/EditItemScreen.kt index 96a56972e..4cc380dad 100644 --- a/app/src/main/kotlin/com/x8bit/bitwarden/authenticator/ui/authenticator/feature/edititem/EditItemScreen.kt +++ b/app/src/main/kotlin/com/x8bit/bitwarden/authenticator/ui/authenticator/feature/edititem/EditItemScreen.kt @@ -249,7 +249,7 @@ fun EditItemContent( modifier = Modifier .fillMaxSize() .padding(horizontal = 16.dp), - label = stringResource(id = R.string.totp_code), + label = stringResource(id = R.string.secret_key), value = viewState.itemData.totpCode, onValueChange = onTotpCodeTextChange, singleLine = true, @@ -352,7 +352,7 @@ private fun AdvancedOptions( modifier = Modifier .fillMaxSize() .semantics { testTag = "ItemTypePicker" }, - label = stringResource(id = R.string.type), + label = stringResource(id = R.string.otp_authentication), options = typeOptionsWithStrings.values.toImmutableList(), selectedOption = viewState.itemData.type.name, onOptionSelected = { selectedOption -> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index c8f3add0d..cb32b2981 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -5,7 +5,6 @@ Add item An error has occurred. We were unable to process your request. Please try again or contact us. - Syncing Complete Internet connection required Please connect to the internet before continuing. OK @@ -51,7 +50,6 @@ Show Advanced Collapse advanced options - Expand advanced options Number of digits Save The %1$s field is required. @@ -60,4 +58,5 @@ Saving Item saved Information + OTP Authentication