diff options
author | nc <[email protected]> | 2020-08-06 04:56:06 +0100 |
---|---|---|
committer | nc <[email protected]> | 2020-08-06 04:56:06 +0100 |
commit | 976ea0282d373c4d08187a78a7b46a09d66f7918 (patch) | |
tree | 6d613a1b59ca277a82c8a688ec029774d10f31d5 /src/app/mod.rs | |
parent | ee9be05579d87ca99f153d20995af3273385b564 (diff) |
revert
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 { |