mirror of
https://github.com/atsunatsu/Look4Sat.git
synced 2026-10-02 03:15:37 +00:00
feat(map): expanded QSO list — drop ordinal prefix, add per-QSO date
Expanded per-callsign rows previously read '2 · FO-29 · CW · V/U · 11:30Z' (ordinal + summary, no date). Now each expanded line is 'yyyy-MM-dd · FO-29 · CW · V/U · 11:30Z' — the first QSO's date already lives in the header row, so only subsequent QSOs carry a date prefix.
This commit is contained in:
1 parent
11b46c6710
commit
7d7f8f1eda
1 file changed
+5
-4
@@ -347,12 +347,13 @@ private fun WorkedGridCallRow(
|
||||
style = MaterialTheme.typography.bodySmall,
|
||||
modifier = Modifier.padding(top = 3.dp)
|
||||
)
|
||||
// Subsequent QSOs in this grid, revealed on expand.
|
||||
// Subsequent QSOs in this grid, revealed on expand. No ordinal prefix;
|
||||
// each line carries its own date (the first QSO's date already sits in
|
||||
// the header row).
|
||||
if (expanded && callQsos.size > 1) {
|
||||
callQsos.drop(1).forEachIndexed { index, qso ->
|
||||
val ordinal = "${index + 2}"
|
||||
callQsos.drop(1).forEach { qso ->
|
||||
Text(
|
||||
text = "$ordinal " + qsoSummary(qso, isUtc),
|
||||
text = formatDate(qso.epochMs, isUtc) + " · " + qsoSummary(qso, isUtc),
|
||||
style = MaterialTheme.typography.bodySmall,
|
||||
color = MaterialTheme.colorScheme.onSurfaceVariant,
|
||||
modifier = Modifier.padding(top = 3.dp)
|
||||
|
||||
Reference in new issue
Block a user