feat(worldclock): show home time as text under the analog face

The World clock tab now prints the home time under the hero face in the
app's 12/24-hour format, reversing the earlier call to leave it out.
Reading the exact minute off a dial is slow, and that minute is what
most visits to the tab are for.

The face no longer has a content description, so TalkBack does not read
the time twice. The readout, "Home", the city and the zone name are one
merged node instead.

Closes #4
This commit is contained in:
makiolaj committed 2026-10-05 19:36:31 +02:00
1 parent eb63f02d38
commit 45e5a51c98
5 files changed
+61 -44

No files matched your search

+11 -6
View File
@@ -2383,12 +2383,17 @@ The rest is ordinary `Canvas` work over `AnalogFace`'s pure angles — twelve ho
marks with the four quarters longer, three hands, a centre cap — in scheme
tokens only. The morph is built once and the path re-derived into a reused
`Path` per frame through `toPath(Morph, Float, Path)`, which is not
`@Composable` and is therefore callable from a `DrawScope`. The face is the home
readout and the digital time is **not** repeated under it: an analog face that
also prints its own time is a face nobody looks at. It carries a content
description naming the city and the time, and is deliberately **not** a live
region — at 1 Hz it would recite the clock for as long as the tab was open,
which is the mistake M4 already refused for the live pill (§12).
`@Composable` and is therefore callable from a `DrawScope`. M8 left the digital
time out from under the face on the grounds that an analog face that also
prints its own time is a face nobody looks at (D11). **That is reversed:** the
home time now sits under the face as a `displaySmall` readout in the app's
12/24-hour format, because the exact minute is what most visits to the tab are
for and a dial is the slow way to read it. The face keeps the day/night shape
digits cannot carry. With the time on screen as text, the face is hidden from
TalkBack, and the readout, "Home", the city and the zone name are one merged
node, so the time is read once. Neither is a live region — that would recite
the clock for as long as the tab was open, which is the mistake M4 already
refused for the live pill (§12).
### The cadence