Update deps and make it work with notify 7

This commit is contained in:
itsjunetime
2024-10-26 15:01:56 -06:00
parent f6d339923b
commit d5284be123
5 changed files with 119 additions and 163 deletions
+1
View File
@@ -484,6 +484,7 @@ impl Tui {
pub fn show_error(&mut self, err: RenderError) {
self.set_bottom_msg(Some(BottomMessage::Error(match err {
RenderError::Notify(e) => format!("Auto-reload failed: {e}"),
RenderError::Doc(e) => format!("Couldn't open document: {e}"),
RenderError::Render(e) => format!("Couldn't render page: {e}")
})));