summaryrefslogtreecommitdiff
path: root/src/icon.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/icon.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/icon.rs b/src/icon.rs
index e51ab90..2bcafcb 100644
--- a/src/icon.rs
+++ b/src/icon.rs
@@ -28,5 +28,5 @@ where
Theme: text::Catalog + 'a,
Renderer: TextRenderer<Font = Font>
{
- text(codepoint).font(Font::with_name("icons"))
+ text(codepoint).font(Font::new("icons"))
}