draft limit notification badge

This commit is contained in:
yggverse 2024-10-16 14:24:21 +03:00
parent edef963287
commit 88aeab91be
12 changed files with 167 additions and 25 deletions

View file

@ -26,8 +26,8 @@ impl Input {
}
// Actions
pub fn show(&self, title: Option<&str>) {
self.content.set(title);
pub fn show(&self, title: Option<&str>, limit: Option<&i32>) {
self.content.update(title, limit);
self.widget.show(true);
}