Localize the descriptions

This commit is contained in:
Andreas 2022-08-11 15:10:54 +02:00
parent 886940ac9b
commit b9ed1e9527
No known key found for this signature in database
GPG Key ID: D7D48B26482380B8
2 changed files with 2 additions and 2 deletions

View File

@ -105,7 +105,7 @@ fun HistorySearchToolbar(
actions = {
AnimatedVisibility(visible = searchQuery.isNotEmpty()) {
IconButton(onClick = onClickResetSearch) {
Icon(Icons.Outlined.Close, contentDescription = "reset")
Icon(Icons.Outlined.Close, contentDescription = stringResource(id = R.string.action_reset))
}
}
},

View File

@ -193,7 +193,7 @@ fun LibrarySearchToolbar(
actions = {
AnimatedVisibility(visible = searchQuery.isNotEmpty()) {
IconButton(onClick = onClickResetSearch) {
Icon(Icons.Outlined.Close, contentDescription = "reset")
Icon(Icons.Outlined.Close, contentDescription = stringResource(id = R.string.action_reset))
}
}
},