mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
draft limit notification badge
This commit is contained in:
parent
edef963287
commit
88aeab91be
12 changed files with 167 additions and 25 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue