Add missing string resource

This commit is contained in:
MM20
2022-09-19 23:07:48 +02:00
parent db7db74d2d
commit 7a000ab5c0
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -27,6 +27,7 @@
<string name="action_undo">Undo</string>
<!-- Delete something (a file or a web search shortcut) -->
<string name="menu_delete">Delete</string>
<string name="menu_remove">Remove</string>
<!-- Open a contact in the contacts app -->
<string name="menu_contacts_open_externally">Open in contacts app</string>
<!-- Open an event in the calendar app -->
@@ -187,7 +187,7 @@ fun ReorderFavoritesGrid(viewModel: EditFavoritesSheetVM) {
Icon(imageVector = Icons.Rounded.Delete, contentDescription = null)
},
text = {
Text("Remove")
Text(stringResource(R.string.menu_remove))
}, onClick = {
contextMenuItemKey?.let { viewModel.remove(it) }
contextMenuItemKey = null