🛠️ Change BookInfo's description text color

* onSurface → onSurfaceVariant
This commit is contained in:
Acclorite 2024-09-18 18:38:20 +03:00
parent 154aabf1cc
commit 97b2db0bbc

View file

@ -41,7 +41,7 @@ fun BookInfoDescriptionSection() {
if (state.value.book.description?.isNotBlank() == true) state.value.book.description!! if (state.value.book.description?.isNotBlank() == true) state.value.book.description!!
else stringResource(id = R.string.error_no_description), else stringResource(id = R.string.error_no_description),
style = MaterialTheme.typography.bodyLarge, style = MaterialTheme.typography.bodyLarge,
color = MaterialTheme.colorScheme.onSurface, color = MaterialTheme.colorScheme.onSurfaceVariant,
textAlign = TextAlign.Start, textAlign = TextAlign.Start,
modifier = Modifier modifier = Modifier
.padding(horizontal = 24.dp) .padding(horizontal = 24.dp)