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),
|
||||
actions = {
|
||||
IconButton(onClick = onClickSearch) {
|
||||
Icon(Icons.Outlined.Search, contentDescription = "search")
|
||||
Icon(Icons.Outlined.Search, contentDescription = stringResource(R.string.action_search))
|
||||
}
|
||||
IconButton(onClick = onClickDelete) {
|
||||
Icon(Icons.Outlined.DeleteSweep, contentDescription = "delete")
|
||||
Icon(Icons.Outlined.DeleteSweep, contentDescription = stringResource(R.string.pref_clear_history))
|
||||
}
|
||||
},
|
||||
downloadedOnlyMode = downloadedOnlyMode,
|
||||
|
@ -129,16 +129,16 @@ fun LibraryRegularToolbar(
|
||||
},
|
||||
actions = {
|
||||
IconButton(onClick = onClickSearch) {
|
||||
Icon(Icons.Outlined.Search, contentDescription = "search")
|
||||
Icon(Icons.Outlined.Search, contentDescription = stringResource(R.string.action_search))
|
||||
}
|
||||
IconButton(onClick = onClickFilter) {
|
||||
Icon(Icons.Outlined.FilterList, contentDescription = "search", tint = filterTint)
|
||||
Icon(Icons.Outlined.FilterList, contentDescription = stringResource(R.string.action_filter), tint = filterTint)
|
||||
}
|
||||
// SY -->
|
||||
val moveGlobalUpdate = showSyncExh && calculateWindowWidthSizeClass() == WindowWidthSizeClass.Compact
|
||||
if (!moveGlobalUpdate) {
|
||||
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) }
|
||||
|
Loading…
x
Reference in New Issue
Block a user