do not log toasts

This commit is contained in:
galister
2024-03-11 09:07:27 +01:00
parent 4434d82981
commit deb43f0d94

View File

@@ -136,7 +136,6 @@ fn new_toast(
canvas.panel(0., 0., size.0, size.1);
if toast.body.len() > 0 {
log::info!("{}: {}", title, toast.body);
canvas.label(PADDING.0, 54., og_width, size.1 - 54., toast.body);
canvas.fg_color = color_parse("#101010").unwrap(); // want panic
@@ -144,7 +143,6 @@ fn new_toast(
canvas.panel(0., 0., size.0, 30.);
canvas.label_centered(PADDING.0, 16., og_width, FONT_SIZE as f32 + 2., title);
} else {
log::info!("Toast: {}", title);
canvas.label_centered(PADDING.0, 0., og_width, size.1, title);
}