inbox: Show notifications

This commit is contained in:
Erik Kundt
2024-02-16 16:30:07 +01:00
parent e0ddf6906a
commit f23cc04759
8 changed files with 291 additions and 24 deletions
+4
View File
@@ -8,6 +8,10 @@ use crate::ui::layout;
use crate::ui::theme::style;
use crate::ui::widget::{Widget, WidgetComponent};
pub fn blank() -> Widget<Label> {
default("")
}
pub fn default(content: &str) -> Widget<Label> {
// TODO: Remove when size constraints are implemented
let width = content.chars().count() as u16;