diff options
Diffstat (limited to 'src/app/mod.rs')
-rw-r--r-- | src/app/mod.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/app/mod.rs b/src/app/mod.rs index bce6e79..2aecb33 100644 --- a/src/app/mod.rs +++ b/src/app/mod.rs | |||
@@ -5,8 +5,6 @@ use notify::{DebouncedEvent, RecommendedWatcher}; | |||
5 | 5 | ||
6 | use crate::habit::HabitWrapper; | 6 | use crate::habit::HabitWrapper; |
7 | 7 | ||
8 | use std::sync::{RwLock, Arc}; | ||
9 | |||
10 | mod impl_self; | 8 | mod impl_self; |
11 | mod impl_view; | 9 | mod impl_view; |
12 | mod message; | 10 | mod message; |
@@ -22,7 +20,7 @@ pub struct App { | |||
22 | file_event_recv: Receiver<DebouncedEvent>, | 20 | file_event_recv: Receiver<DebouncedEvent>, |
23 | focus: usize, | 21 | focus: usize, |
24 | view_month_offset: u32, | 22 | view_month_offset: u32, |
25 | pub message: Arc<RwLock<Message>>, | 23 | message: Message, |
26 | } | 24 | } |
27 | 25 | ||
28 | impl Default for App { | 26 | impl Default for App { |