mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-09 05:06:43 +01:00
add MessageCommand::Dismiss
This commit is contained in:
parent
0a090765d3
commit
ebd0f18c9c
5 changed files with 25 additions and 9 deletions
|
|
@ -429,6 +429,10 @@ impl Tek {
|
|||
]
|
||||
}
|
||||
|
||||
pub(crate) fn message_dismiss (&mut self) {
|
||||
self.modal = None;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
has_size!(<TuiOut>|self: Tek|&self.size);
|
||||
|
|
@ -471,7 +475,7 @@ pub enum Message {
|
|||
}
|
||||
|
||||
content!(TuiOut: |self: Message| match self {
|
||||
Self::FailedToAddDevice => "Failed to add device"
|
||||
Self::FailedToAddDevice => "Failed to add device."
|
||||
});
|
||||
|
||||
/// Represents the current user selection in the arranger
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue