calc: Improve history

This commit is contained in:
Kenny Levinsen
2023-02-06 18:57:34 +01:00
parent 6f0ca36826
commit b9f4e74062
2 changed files with 38 additions and 20 deletions
+1 -2
View File
@@ -119,11 +119,10 @@ fn main() {
let mut fm = FontMap::new();
// Todo: Cache in a file
// TODO: Cache in a file
fm.add_font_path("sans", "/usr/share/fonts/noto/NotoSans-Regular.ttf".to_string());
fm.add_font_path("monospace", "/usr/share/fonts/noto/NotoSansMono-Regular.ttf".to_string());
let (widgets, layout): (Vec<Box<dyn Widget>>, Rc<Box<dyn Layout>>) = match version {
UIVersion::V1 => {
let clock = Box::new(Clock::new(&mut fm, "sans", 256.));