aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/views.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/views.rs b/src/views.rs
index 64c85ce..d25e59b 100644
--- a/src/views.rs
+++ b/src/views.rs
@@ -39,7 +39,7 @@ where
39 let todo_style = Style::from(CONFIGURATION.todo_color); 39 let todo_style = Style::from(CONFIGURATION.todo_color);
40 let future_style = Style::from(CONFIGURATION.future_color); 40 let future_style = Style::from(CONFIGURATION.future_color);
41 41
42 let done_today_style = Style::from(Effect::Strikethrough); 42 let strikethrough = Style::from(Effect::Strikethrough);
43 43
44 let goal_status = 44 let goal_status =
45 self.view_month_offset() == 0 && self.reached_goal(Local::now().naive_utc().date()); 45 self.view_month_offset() == 0 && self.reached_goal(Local::now().naive_utc().date());
@@ -47,7 +47,7 @@ where
47 printer.with_style( 47 printer.with_style(
48 Style::merge(&[ 48 Style::merge(&[
49 if goal_status { 49 if goal_status {
50 done_today_style 50 strikethrough
51 } else { 51 } else {
52 Style::none() 52 Style::none()
53 }, 53 },