Bigger cover in ReaderStartItem. (v1.0.1)

This commit is contained in:
acclorite 2024-05-01 02:48:13 +03:00
parent dff7499093
commit 6536064685

View file

@ -47,7 +47,7 @@ fun ReaderStartItem(state: State<ReaderState>) {
.calculateTopPadding() .calculateTopPadding()
val itemsHeight = remember(statusBarHeight) { val itemsHeight = remember(statusBarHeight) {
statusBarHeight + 80.dp + 135.dp + 40.dp statusBarHeight + 80.dp + 140.dp + 40.dp
} }
Box( Box(
@ -74,8 +74,8 @@ fun ReaderStartItem(state: State<ReaderState>) {
) { ) {
Box( Box(
modifier = Modifier modifier = Modifier
.height(135.dp) .height(150.dp)
.width(90.dp) .width(100.dp)
.clip(RoundedCornerShape(10.dp)) .clip(RoundedCornerShape(10.dp))
.background(MaterialTheme.colorScheme.surfaceContainerLow) .background(MaterialTheme.colorScheme.surfaceContainerLow)
) { ) {
@ -111,7 +111,6 @@ fun ReaderStartItem(state: State<ReaderState>) {
maxLines = 4, maxLines = 4,
overflow = TextOverflow.Ellipsis overflow = TextOverflow.Ellipsis
) )
Spacer(modifier = Modifier.height(4.dp))
Text( Text(
stringResource(id = R.string.happy_reading), stringResource(id = R.string.happy_reading),
color = MaterialTheme.colorScheme.onSurfaceVariant, color = MaterialTheme.colorScheme.onSurfaceVariant,