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:
parent
5526699103
commit
a459ed1e4c
1 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue