starting to look good... wait what

This commit is contained in:
🪞👃🪞 2025-05-16 00:16:56 +03:00
parent 9aeb792f7d
commit fca1e85611
6 changed files with 38 additions and 23 deletions

View file

@ -195,6 +195,9 @@ impl App {
fn focus_editor (&self) -> bool {
self.is_editing()
}
fn is_editing (&self) -> bool {
HasEditor::is_editing(self)
}
fn focus_message (&self) -> bool {
matches!(self.dialog, Some(Dialog::Message(..)))
}