Show document notices as status bars

This commit is contained in:
Dylan M. Taylor committed 2026-11-21 12:37:31 -05:00
1 parent 95670b10ec
commit 4e50292fda
1 file changed
+1 -1
+1 -1
View File
@@ -51,7 +51,7 @@ pub(super) enum Notice {
/// One inline notice with the icon named `icon`.
fn bar(tone: Tone, icon: &'static str, text: String) -> Bar<'static> {
Bar::new(tone, text).layout(NoticeLayout::Inline).icon(NoticeIcon::Custom(IconId::new(icon).into()))
Bar::new(tone, text).layout(NoticeLayout::Bar).icon(NoticeIcon::Custom(IconId::new(icon).into()))
}
/// The notices above the pages, one after another: a file changed on disk first, then what a historical