Fix appbar action content descriptions
(cherry picked from commit 3c2e237d633e33990f2de44cfb69bbd773004c13) # Conflicts: # app/src/main/java/eu/kanade/presentation/library/components/LibraryToolbar.kt
This commit is contained in:
parent
681318cab1
commit
71f2f03300
@ -62,10 +62,10 @@ fun HistoryRegularToolbar(
|
|||||||
title = stringResource(id = R.string.history),
|
title = stringResource(id = R.string.history),
|
||||||
actions = {
|
actions = {
|
||||||
IconButton(onClick = onClickSearch) {
|
IconButton(onClick = onClickSearch) {
|
||||||
Icon(Icons.Outlined.Search, contentDescription = "search")
|
Icon(Icons.Outlined.Search, contentDescription = stringResource(R.string.action_search))
|
||||||
}
|
}
|
||||||
IconButton(onClick = onClickDelete) {
|
IconButton(onClick = onClickDelete) {
|
||||||
Icon(Icons.Outlined.DeleteSweep, contentDescription = "delete")
|
Icon(Icons.Outlined.DeleteSweep, contentDescription = stringResource(R.string.pref_clear_history))
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
downloadedOnlyMode = downloadedOnlyMode,
|
downloadedOnlyMode = downloadedOnlyMode,
|
||||||
|
@ -129,16 +129,16 @@ fun LibraryRegularToolbar(
|
|||||||
},
|
},
|
||||||
actions = {
|
actions = {
|
||||||
IconButton(onClick = onClickSearch) {
|
IconButton(onClick = onClickSearch) {
|
||||||
Icon(Icons.Outlined.Search, contentDescription = "search")
|
Icon(Icons.Outlined.Search, contentDescription = stringResource(R.string.action_search))
|
||||||
}
|
}
|
||||||
IconButton(onClick = onClickFilter) {
|
IconButton(onClick = onClickFilter) {
|
||||||
Icon(Icons.Outlined.FilterList, contentDescription = "search", tint = filterTint)
|
Icon(Icons.Outlined.FilterList, contentDescription = stringResource(R.string.action_filter), tint = filterTint)
|
||||||
}
|
}
|
||||||
// SY -->
|
// SY -->
|
||||||
val moveGlobalUpdate = showSyncExh && calculateWindowWidthSizeClass() == WindowWidthSizeClass.Compact
|
val moveGlobalUpdate = showSyncExh && calculateWindowWidthSizeClass() == WindowWidthSizeClass.Compact
|
||||||
if (!moveGlobalUpdate) {
|
if (!moveGlobalUpdate) {
|
||||||
IconButton(onClick = onClickRefresh) {
|
IconButton(onClick = onClickRefresh) {
|
||||||
Icon(Icons.Outlined.Refresh, contentDescription = "search")
|
Icon(Icons.Outlined.Refresh, contentDescription = stringResource(R.string.pref_category_library_update))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
var showOverflow by remember { mutableStateOf(false) }
|
var showOverflow by remember { mutableStateOf(false) }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user