Use same icon as chapter list items to indicate downloaded chapter in reader transitions

This commit is contained in:
arkon 2023-10-31 18:05:37 -04:00
parent 7cf2ce2994
commit 2ee895ee3c
2 changed files with 3 additions and 3 deletions

View File

@ -11,8 +11,8 @@ import androidx.compose.foundation.layout.widthIn
import androidx.compose.foundation.text.InlineTextContent import androidx.compose.foundation.text.InlineTextContent
import androidx.compose.foundation.text.appendInlineContent import androidx.compose.foundation.text.appendInlineContent
import androidx.compose.material.icons.Icons import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.CheckCircle
import androidx.compose.material.icons.outlined.Info import androidx.compose.material.icons.outlined.Info
import androidx.compose.material.icons.outlined.OfflinePin
import androidx.compose.material.icons.outlined.Warning import androidx.compose.material.icons.outlined.Warning
import androidx.compose.material3.CardColors import androidx.compose.material3.CardColors
import androidx.compose.material3.CardDefaults import androidx.compose.material3.CardDefaults
@ -244,7 +244,7 @@ private fun ChapterText(
), ),
) { ) {
Icon( Icon(
imageVector = Icons.Outlined.OfflinePin, imageVector = Icons.Filled.CheckCircle,
contentDescription = stringResource(R.string.label_downloaded), contentDescription = stringResource(R.string.label_downloaded),
) )
}, },

View File

@ -240,7 +240,7 @@ private fun SearchResultItem(
) { ) {
if (selected) { if (selected) {
Icon( Icon(
imageVector = Icons.Default.CheckCircle, imageVector = Icons.Filled.CheckCircle,
contentDescription = null, contentDescription = null,
modifier = Modifier.align(Alignment.TopEnd), modifier = Modifier.align(Alignment.TopEnd),
tint = MaterialTheme.colorScheme.primary, tint = MaterialTheme.colorScheme.primary,