Pi66

Home | Repos | About | Blog | Gaza

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

About | Files | Commits | Refs | License


fix font not work

Author: pixel
Date: 2025-04-22 21:58
commit: 3fda4247

Stat

M src/ui.rs 2 +1 -1

Diff

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,

// Created by Pi66

// Copyright ©Pi66 2026