Skip to content

Commit

Permalink
Merge pull request #297 from hydra/fix-examples-1
Browse files Browse the repository at this point in the history
Fix compilation errors with 2 examples that use icons.
  • Loading branch information
genusistimelord authored Oct 24, 2024
2 parents 613abc7 + 287ef8e commit e6c8870
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions examples/side_bar/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down
2 changes: 1 addition & 1 deletion examples/tabs/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ impl From<Icon> 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()
}
Expand Down

0 comments on commit e6c8870

Please sign in to comment.