Skip to main content

TOAST_BODY_COLLAPSED_LINES

Constant TOAST_BODY_COLLAPSED_LINES 

Source
pub const TOAST_BODY_COLLAPSED_LINES: usize = 3;
Expand description

How many lines of body text a toast shows before offering to unfold.

Three is the point where a body still reads as a caption rather than a paragraph, and it comfortably fits the two-sentence bodies most apps write — those never see the disclosure row at all.