Pi66

pino-rs
Rust notification daemon.
git clone https://git.pi66.xyz/pino-rs

← back to log

fix font not work

author: pixel
date: 2025-04-22 21:58
hash: 3fda4247c887d6a27b5232521750639cf1e03d30

Diffstat:

M

src/ui.rs
2 +++++++++++++++---------------
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
diff --git a/src/ui.rs b/src/ui.rs
index 50fb33c..d11c590 100644
--- a/src/ui.rs
+++ b/src/ui.rs
@@ -25,7 +25,7 @@ pub fn ui(
     message: (i32,i32,i32),
     colors: (String, String, String, String),
 ) {
-    let app = app::App::default();
+    let app = app::App::default().load_system_fonts();

     let mut wind1 = Window::new(
         screen_info.0,