feat(iconsource): additional helper methods for creating handles

This commit is contained in:
Michael Aaron Murphy 2023-01-19 13:01:02 +01:00
parent 01783e6b59
commit e5b06359e4
No known key found for this signature in database
GPG key ID: B2732D4240C9212C
6 changed files with 37 additions and 9 deletions

View file

@ -130,7 +130,7 @@ impl Window {
self.nav_bar_pages
.insert()
.text(page.title())
.icon(IconSource::Name(page.icon_name().into()))
.icon(IconSource::from(page.icon_name()))
.data(page)
}