feat: mutual chip uses theme primary yellow, plain text distance; top bar text indent; low-zoom meridians via direct Mercator math (bypass osmdroid wrap bug); remove Wavelog sync entry — LoTW is the sole grid source (replace instead of merge)

This commit is contained in:
atsunatsu committed 2026-09-07 19:10:44 +08:00
1 parent a9fe0b74e9
commit c09f718aae
6 files changed
+37 -95

No files matched your search

@@ -53,7 +53,8 @@ fun GridTargetChip(
modifier: Modifier = Modifier
) {
val configured = grid != null && distanceKm != null && bearingDeg != null
val accent = MaterialTheme.colorScheme.tertiaryContainer
// The app's signature accent yellow (MaterialTheme primary in both themes).
val accent = MaterialTheme.colorScheme.primary
val placeholder = MaterialTheme.colorScheme.onSurfaceVariant
Row(
verticalAlignment = Alignment.CenterVertically,
@@ -83,13 +84,8 @@ fun GridTargetChip(
Text(
text = distanceKm?.let { "${"%,.0f".format(it)} km" } ?: "-- km",
fontSize = 14.sp,
color = if (configured) Color.White else placeholder,
modifier = Modifier
.background(
color = if (configured) MaterialTheme.colorScheme.onSurfaceVariant else Color.Transparent,
shape = RoundedCornerShape(8.dp)
)
.padding(horizontal = 8.dp, vertical = 2.dp)
color = MaterialTheme.colorScheme.onSurface,
modifier = Modifier.padding(horizontal = 8.dp, vertical = 2.dp)
)
}
}