fn bookmark_action<'a>(
note: &Note,
context: &RowContext<'a>,
dim: Color,
) -> Option<Element<'a, Message>>Expand description
The bookmark action of note: a ribbon, filled and in accent when the
account has the note bookmarked, which pressing it changes. It shows
the change at once, while the changed list is on its way. None for an
account that keeps no bookmarks.
It can always be pressed, and what a press does, if anything, is the handler’s to say: a press that found nothing to press would open the note’s thread instead, as a click anywhere else on the row does.