Library rows: metadata line no longer paints in the accent (coral) on DONE — Android HomeScreen uses onSurfaceVariant for all statuses, error only for FAILED; matches the companion app

This commit is contained in:
avi 2026-09-21 18:42:28 -05:00
commit a459ed1e4c

View file

@ -453,9 +453,13 @@ fun LibraryScreen(state: DesktopState) {
java.time.ZoneId.systemDefault()) java.time.ZoneId.systemDefault())
else "")), else "")),
style = MaterialTheme.typography.bodySmall, style = MaterialTheme.typography.bodySmall,
// Android HomeScreen paints the row
// metadata onSurfaceVariant for every
// status; only failures shout (error).
// DONE-accent was coral-on-navy noise
// vs the companion app (Sep 21).
color = when (e.status) { color = when (e.status) {
FileStatus.FAILED -> MaterialTheme.colorScheme.error FileStatus.FAILED -> MaterialTheme.colorScheme.error
FileStatus.DONE -> MaterialTheme.colorScheme.primary
else -> MaterialTheme.colorScheme.onSurfaceVariant else -> MaterialTheme.colorScheme.onSurfaceVariant
}, },
) )