From 287ef8ef218fd2a77b25fbee87a0f19b1a43bdd1 Mon Sep 17 00:00:00 2001 From: Dominic Clifton Date: Thu, 24 Oct 2024 16:14:43 +0200 Subject: [PATCH] Fix compilation errors. * Compilation looks like it was broken by 7d14e42d117a76a2e20bd88bf29117bd4745d2a3 --- examples/side_bar/main.rs | 6 +++--- examples/tabs/main.rs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/side_bar/main.rs b/examples/side_bar/main.rs index ba7026fe..b250ce75 100644 --- a/examples/side_bar/main.rs +++ b/examples/side_bar/main.rs @@ -45,9 +45,9 @@ fn main() -> iced::Result { TabBarExample::update, TabBarExample::view, ) - .font(iced_aw::BOOTSTRAP_FONT_BYTES) - .font(ICON_BYTES) - .run() + .font(iced_fonts::REQUIRED_FONT_BYTES) + .font(ICON_BYTES) + .run() } #[derive(Default)] diff --git a/examples/tabs/main.rs b/examples/tabs/main.rs index 657dc54d..c6ac81c3 100644 --- a/examples/tabs/main.rs +++ b/examples/tabs/main.rs @@ -45,7 +45,7 @@ impl From for char { fn main() -> iced::Result { iced::application("Tabs example", TabBarExample::update, TabBarExample::view) - .font(iced_aw::BOOTSTRAP_FONT_BYTES) + .font(iced_fonts::REQUIRED_FONT_BYTES) .font(ICON_BYTES) .run() }