Skip to content

Commit

Permalink
Correct edit item field labels
Browse files Browse the repository at this point in the history
Removed unused resources
  • Loading branch information
SaintPatrck committed Apr 9, 2024
1 parent 8d0507f commit 9ee0020
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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 ->
Expand Down
3 changes: 1 addition & 2 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<string name="add_item">Add item</string>
<string name="an_error_has_occurred">An error has occurred.</string>
<string name="generic_error_message">We were unable to process your request. Please try again or contact us.</string>
<string name="syncing_complete">Syncing Complete</string>
<string name="internet_connection_required_title">Internet connection required</string>
<string name="internet_connection_required_message">Please connect to the internet before continuing.</string>
<string name="ok">OK</string>
Expand Down Expand Up @@ -51,7 +50,6 @@
<string name="show">Show</string>
<string name="advanced">Advanced</string>
<string name="collapse_advanced_options">Collapse advanced options</string>
<string name="expand_advanced_options">Expand advanced options</string>
<string name="number_of_digits">Number of digits</string>
<string name="save">Save</string>
<string name="validation_field_required">The %1$s field is required.</string>
Expand All @@ -60,4 +58,5 @@
<string name="saving">Saving</string>
<string name="item_saved">Item saved</string>
<string name="information">Information</string>
<string name="otp_authentication">OTP Authentication</string>
</resources>

0 comments on commit 9ee0020

Please sign in to comment.