From 976ea0282d373c4d08187a78a7b46a09d66f7918 Mon Sep 17 00:00:00 2001 From: nc Date: Wed, 5 Aug 2020 23:56:06 -0400 Subject: revert --- src/app/mod.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/app/mod.rs') 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}; use crate::habit::HabitWrapper; -use std::sync::{RwLock, Arc}; - mod impl_self; mod impl_view; mod message; @@ -22,7 +20,7 @@ pub struct App { file_event_recv: Receiver, focus: usize, view_month_offset: u32, - pub message: Arc>, + message: Message, } impl Default for App { -- cgit v1.2.3