wip: 12 errors

This commit is contained in:
🪞👃🪞 2024-09-05 18:08:43 +03:00
parent ea5bc2e3b1
commit e0c8a427f1
9 changed files with 65 additions and 66 deletions

View file

@ -58,8 +58,8 @@ impl Render<Tui> for AddSampleModal {
}
}
impl Handle<Tui> for AddSampleModal {
fn handle (&mut self, e: &Tui) -> Usually<bool> {
if handle_keymap(self, e, KEYMAP_ADD_SAMPLE)? {
fn handle (&mut self, from: &Tui) -> Perhaps<bool> {
if handle_keymap(self, &from.event(), KEYMAP_ADD_SAMPLE)? {
return Ok(true)
}
Ok(true)