diff --git a/feature/radar/src/main/java/com/rtbishop/look4sat/feature/radar/LogTab.kt b/feature/radar/src/main/java/com/rtbishop/look4sat/feature/radar/LogTab.kt index ed1b2320..dcbee301 100644 --- a/feature/radar/src/main/java/com/rtbishop/look4sat/feature/radar/LogTab.kt +++ b/feature/radar/src/main/java/com/rtbishop/look4sat/feature/radar/LogTab.kt @@ -405,7 +405,7 @@ private fun ExpandedLogInput( if (isLinearRange) { Text( text = " (${formatFrequency(upLow)} – ${formatFrequency(upHigh)})", - fontSize = 11.sp, + fontSize = 12.sp, color = MaterialTheme.colorScheme.onSurfaceVariant ) } @@ -426,7 +426,7 @@ private fun ExpandedLogInput( if (downLow != null && downHigh != null && downLow != downHigh) { Text( text = " (${formatFrequency(downLow)} – ${formatFrequency(downHigh)})", - fontSize = 11.sp, + fontSize = 12.sp, color = MaterialTheme.colorScheme.onSurfaceVariant ) } diff --git a/feature/radar/src/main/java/com/rtbishop/look4sat/feature/radar/WavelogLogScreen.kt b/feature/radar/src/main/java/com/rtbishop/look4sat/feature/radar/WavelogLogScreen.kt index a45a1982..7b5b1d36 100644 --- a/feature/radar/src/main/java/com/rtbishop/look4sat/feature/radar/WavelogLogScreen.kt +++ b/feature/radar/src/main/java/com/rtbishop/look4sat/feature/radar/WavelogLogScreen.kt @@ -44,7 +44,15 @@ import java.util.Calendar import java.util.TimeZone private val CheckGreen = Color(0xFF4CAF50) -private val GridLineColor = Color(0xFF3A3A3A) +/** + * Grid rules and column separators. + * + * Was 0xFF3A3A3A, which computes to 1.65:1 against the navBar background and 1.36:1 against a card, + * where Material asks 3:1 for non-text elements - the grid this page is built around was nearly + * invisible, and gone in sunlight. 0xFF6D6D6D is the lowest grey clearing 3:1 against both + * (3.62:1 and 3.00:1). + */ +private val GridLineColor = Color(0xFF6D6D6D) @Composable fun WavelogLogScreen( @@ -139,15 +147,21 @@ fun WavelogLogScreen( GridVLine() Cell(entry.call, 0.dp, weight = 1f) GridVLine() + // Upload state carried by the glyph, not by colour alone. The + // green tick collapses to 1.17:1 under this app's night filter, + // which zeroes green and blue, so the column disappeared entirely - + // and colour was the only thing separating sent from waiting. Box(modifier = Modifier.width(44.dp)) { - if (entry.uploaded) { - Text( - text = "✓", - fontSize = 15.sp, - fontWeight = FontWeight.Bold, - color = CheckGreen - ) - } + Text( + text = if (entry.uploaded) "OK" else "...", + fontSize = 13.sp, + fontWeight = FontWeight.Bold, + color = if (entry.uploaded) { + CheckGreen + } else { + MaterialTheme.colorScheme.onSurfaceVariant + } + ) } } // Row divider