fix(gui): correct Bootstrap Icons codepoint for gear icon
Font version in iced_fonts 0.1.1 maps GearFill to U+F3E2, not U+F3F8. Using the wrong codepoint rendered as a question-mark placeholder. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+2
-2
@@ -611,7 +611,7 @@ fn view(state: &Dashboard) -> Element<'_, Message> {
|
|||||||
return view_settings(state);
|
return view_settings(state);
|
||||||
}
|
}
|
||||||
|
|
||||||
let settings_btn = button(text("\u{F3F8}").font(iced::Font::with_name("bootstrap-icons")).size(16))
|
let settings_btn = button(text("\u{f3e2}").font(iced::Font::with_name("bootstrap-icons")).size(16))
|
||||||
.on_press(Message::ShowSettings)
|
.on_press(Message::ShowSettings)
|
||||||
.style(button::secondary);
|
.style(button::secondary);
|
||||||
|
|
||||||
@@ -1087,7 +1087,7 @@ fn diagnose_card<'a>(
|
|||||||
|
|
||||||
fn view_settings(state: &Dashboard) -> Element<'_, Message> {
|
fn view_settings(state: &Dashboard) -> Element<'_, Message> {
|
||||||
let header = row![
|
let header = row![
|
||||||
row![text("\u{F3F8}").font(iced::Font::with_name("bootstrap-icons")).size(20), text(" Settings").size(24)].align_y(Alignment::Center),
|
row![text("\u{f3e2}").font(iced::Font::with_name("bootstrap-icons")).size(20), text(" Settings").size(24)].align_y(Alignment::Center),
|
||||||
iced::widget::horizontal_space(),
|
iced::widget::horizontal_space(),
|
||||||
button(text("← Back").size(13))
|
button(text("← Back").size(13))
|
||||||
.on_press(Message::HideSettings)
|
.on_press(Message::HideSettings)
|
||||||
|
|||||||
Reference in New Issue
Block a user