Skip to content

Commit e0ffdeb

Browse files
committed
refactor: update content description for remove share button
Signed-off-by: Jorge Aguado Recio <jaguado@izertis.com>
1 parent 7b7a811 commit e0ffdeb

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

‎owncloudApp/src/main/java/com/owncloud/android/presentation/sharing/GraphSharesAdapter.kt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class GraphSharesAdapter(
6262
memberRole.text = roleNames.joinToString(", ")
6363

6464
removeMemberButton.apply {
65-
contentDescription = holder.itemView.context.getString(R.string.content_description_remove_share_button, share.displayName)
65+
contentDescription = holder.itemView.context.getString(R.string.content_description_delete_share, share.displayName)
6666
isVisible = canRemoveShares
6767
setOnClickListener {
6868
listener.onRemoveShare(share)

‎owncloudApp/src/main/res/values/strings.xml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,6 @@
731731
<string name="content_description_remove_password_button">Remove password</string>
732732
<string name="content_description_generate_password_button">Generate password</string>
733733
<string name="content_description_copy_password_button">Copy password</string>
734-
<string name="content_description_remove_share_button">Remove share %1$s</string>
735734

736735
<string name="create_shortcut_dialog_title">Create a shortcut</string>
737736
<string name="create_shortcut_dialog_url">URL</string>

0 commit comments

Comments
 (0)