Skip to main content

Module unread

Module unread 

Expand description

Where a reader’s unread lines start.

A conversation the reader comes back to marks the first line they had not read when they opened it, with a rule and “New messages” over it: the place to start reading again, kept while they read on, so lines arriving meanwhile do not move it. The app decides which line that is (from its read marks); the face is the same in every conversation.

Structs§

UnreadDivider
UnreadDividerProps, built: an unread divider over a row.
UnreadDividerFace
The “New messages” divider: a caption centred in a band, ruled out to both sides in the accent (super::band, the band a day divider stands in), so the two dividers of a conversation read as one family.
UnreadDividerProps
The divider as a widget, for a list built of widgets: a band across its column with its label at its centre, over the first line the reader had not read.