aboutsummaryrefslogtreecommitdiff
path: root/src/app/mod.rs
diff options
context:
space:
mode:
authorAkshay <[email protected]>2020-07-20 03:21:11 +0100
committerAkshay <[email protected]>2020-07-20 03:21:11 +0100
commitf6ab40dfdda47f80c05153e1320a65028a93bc39 (patch)
treef169fe645a226a72c4704a624b35525f130a2cc9 /src/app/mod.rs
parent7c3433cb22c7ca450dbcb7e351d54e22ea200c4d (diff)
parentc36814f1804f957504bfcda45f2545280fdc412e (diff)
Merge https://github.com/Youx/dijo into fix/macos-watcher
Diffstat (limited to 'src/app/mod.rs')
-rw-r--r--src/app/mod.rs4
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 @@
1use std::default::Default; 1use std::default::Default;
2use std::sync::mpsc::Receiver; 2use std::sync::mpsc::Receiver;
3 3
4use notify::{DebouncedEvent, INotifyWatcher}; 4use notify::{DebouncedEvent, RecommendedWatcher};
5 5
6use crate::habit::HabitWrapper; 6use 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,