Give glyph notifications with bodies the large icon slot

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
David Heinemeier Hansson
2026-07-19 21:17:04 -07:00
co-authored by Claude Fable 5
parent 8147489f1d
commit e96163c075
3 changed files with 8 additions and 7 deletions
@@ -53,8 +53,8 @@ function glyphFromHints(hints) {
return ""
}
function shouldRenderCompactGlyph(glyph, iconSource) {
return String(glyph || "").length > 0 && String(iconSource || "").length === 0
function shouldRenderCompactGlyph(glyph, iconSource, singleLineToast) {
return String(glyph || "").length > 0 && String(iconSource || "").length === 0 && !!singleLineToast
}
function snapshotOf(notification, timestamp) {