[优化] 优化界面

This commit is contained in:
HapeLee
2026-04-28 01:53:04 +08:00
parent e9461d4a52
commit b91685ac52
@@ -472,13 +472,14 @@ fun BookItem(
AppText( AppText(
text = book.latestChapterTime.toTimeAgo(), text = book.latestChapterTime.toTimeAgo(),
style = LegadoTheme.typography.labelSmallEmphasized, style = LegadoTheme.typography.labelSmallEmphasized,
color = if (layoutMode != 0 || !isCompact) MaterialTheme.colorScheme.outline else MaterialTheme.colorScheme.outline, color = LegadoTheme.colorScheme.onSurface.copy(alpha = 0.5f),
modifier = Modifier.padding(end = 4.dp) modifier = Modifier.padding(end = 4.dp)
) )
} }
AppText( AppText(
text = book.latestChapterTitle ?: "", text = book.latestChapterTitle ?: "",
style = LegadoTheme.typography.labelSmallEmphasized.copy(color = LegadoTheme.colorScheme.outline), style = LegadoTheme.typography.labelSmallEmphasized,
color = LegadoTheme.colorScheme.onSurface.copy(alpha = 0.5f),
maxLines = 1, maxLines = 1,
overflow = TextOverflow.Ellipsis, overflow = TextOverflow.Ellipsis,
modifier = Modifier.weight(1f) modifier = Modifier.weight(1f)