diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/app/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/mod.rs b/src/app/mod.rs index 0886930..2aecb33 100644 --- a/src/app/mod.rs +++ b/src/app/mod.rs | |||
@@ -1,7 +1,7 @@ | |||
1 | use std::default::Default; | 1 | use std::default::Default; |
2 | use std::sync::mpsc::Receiver; | 2 | use std::sync::mpsc::Receiver; |
3 | 3 | ||
4 | use notify::{DebouncedEvent, INotifyWatcher}; | 4 | use notify::{DebouncedEvent, RecommendedWatcher}; |
5 | 5 | ||
6 | use crate::habit::HabitWrapper; | 6 | use crate::habit::HabitWrapper; |
7 | 7 | ||
@@ -16,7 +16,7 @@ pub struct App { | |||
16 | // holds app data | 16 | // holds app data |
17 | habits: Vec<Box<dyn HabitWrapper>>, | 17 | habits: Vec<Box<dyn HabitWrapper>>, |
18 | 18 | ||
19 | _file_watcher: INotifyWatcher, | 19 | _file_watcher: RecommendedWatcher, |
20 | file_event_recv: Receiver<DebouncedEvent>, | 20 | file_event_recv: Receiver<DebouncedEvent>, |
21 | focus: usize, | 21 | focus: usize, |
22 | view_month_offset: u32, | 22 | view_month_offset: u32, |