From dbfc2804f165be8c7f660f6cf937487ed9d507d7 Mon Sep 17 00:00:00 2001 From: William Casarin Date: Thu, 1 May 2025 17:21:55 -0700 Subject: [PATCH] chrome: switch from ALPHA to BETA Fixes: #828 Signed-off-by: William Casarin --- crates/notedeck_chrome/src/chrome.rs | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/crates/notedeck_chrome/src/chrome.rs b/crates/notedeck_chrome/src/chrome.rs index 6cb94da5..dea9c981 100644 --- a/crates/notedeck_chrome/src/chrome.rs +++ b/crates/notedeck_chrome/src/chrome.rs @@ -313,19 +313,23 @@ fn milestone_name() -> impl Widget { |ui: &mut egui::Ui| -> egui::Response { ui.vertical_centered(|ui| { let font = egui::FontId::new( - notedeck::fonts::get_font_size( - ui.ctx(), - &NotedeckTextStyle::Tiny, - ), + notedeck::fonts::get_font_size(ui.ctx(), &NotedeckTextStyle::Tiny), egui::FontFamily::Name(notedeck::fonts::NamedFontFamily::Bold.as_str().into()), ); - ui.add(Label::new( - RichText::new("ALPHA") - .color( ui.style().visuals.noninteractive().fg_stroke.color) - .font(font), - ).selectable(false)).on_hover_text("Notedeck is an alpha product. Expect bugs and contact us when you run into issues.").on_hover_cursor(egui::CursorIcon::Help) + ui.add( + Label::new( + RichText::new("BETA") + .color(ui.style().visuals.noninteractive().fg_stroke.color) + .font(font), + ) + .selectable(false), + ) + .on_hover_text( + "Notedeck is a beta product. Expect bugs and contact us when you run into issues.", + ) + .on_hover_cursor(egui::CursorIcon::Help) }) - .inner + .inner } }