Add missing string resource
This commit is contained in:
parent
db7db74d2d
commit
7a000ab5c0
@ -27,6 +27,7 @@
|
|||||||
<string name="action_undo">Undo</string>
|
<string name="action_undo">Undo</string>
|
||||||
<!-- Delete something (a file or a web search shortcut) -->
|
<!-- Delete something (a file or a web search shortcut) -->
|
||||||
<string name="menu_delete">Delete</string>
|
<string name="menu_delete">Delete</string>
|
||||||
|
<string name="menu_remove">Remove</string>
|
||||||
<!-- Open a contact in the contacts app -->
|
<!-- Open a contact in the contacts app -->
|
||||||
<string name="menu_contacts_open_externally">Open in contacts app</string>
|
<string name="menu_contacts_open_externally">Open in contacts app</string>
|
||||||
<!-- Open an event in the calendar app -->
|
<!-- Open an event in the calendar app -->
|
||||||
|
|||||||
@ -187,7 +187,7 @@ fun ReorderFavoritesGrid(viewModel: EditFavoritesSheetVM) {
|
|||||||
Icon(imageVector = Icons.Rounded.Delete, contentDescription = null)
|
Icon(imageVector = Icons.Rounded.Delete, contentDescription = null)
|
||||||
},
|
},
|
||||||
text = {
|
text = {
|
||||||
Text("Remove")
|
Text(stringResource(R.string.menu_remove))
|
||||||
}, onClick = {
|
}, onClick = {
|
||||||
contextMenuItemKey?.let { viewModel.remove(it) }
|
contextMenuItemKey?.let { viewModel.remove(it) }
|
||||||
contextMenuItemKey = null
|
contextMenuItemKey = null
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user