chore(examples): icon API update

This commit is contained in:
Michael Aaron Murphy 2023-09-13 16:01:04 +02:00 committed by Michael Murphy
parent 9dbc1be269
commit 0eba498708
5 changed files with 12 additions and 19 deletions

View file

@ -66,7 +66,7 @@ impl State {
.on_close(Message::Close)
.width(Length::Shrink);
let new_tab_button = icon::handle::from_name("tab-new-symbolic")
let new_tab_button = icon::from_name("tab-new-symbolic")
.size(20)
.apply(button::icon)
.on_press(Message::AddNew);