diff options
author | Akshay <[email protected]> | 2020-07-20 03:21:11 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2020-07-20 03:21:11 +0100 |
commit | f6ab40dfdda47f80c05153e1320a65028a93bc39 (patch) | |
tree | f169fe645a226a72c4704a624b35525f130a2cc9 | |
parent | 7c3433cb22c7ca450dbcb7e351d54e22ea200c4d (diff) | |
parent | c36814f1804f957504bfcda45f2545280fdc412e (diff) |
Merge https://github.com/Youx/dijo into fix/macos-watcher
-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, |