From 7f65b6960b300727bc16dedc39d5793d4ea83a0a Mon Sep 17 00:00:00 2001 From: Jordan Jennings Date: Fri, 24 Jul 2020 21:59:53 -0700 Subject: Add support for configuration file --- src/views.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/views.rs') diff --git a/src/views.rs b/src/views.rs index da077ac..7adf8c6 100644 --- a/src/views.rs +++ b/src/views.rs @@ -36,9 +36,9 @@ where let year = now.year(); let month = now.month(); - let goal_reached_style = Style::from(CONFIGURATION.reached_color); - let todo_style = Style::from(CONFIGURATION.todo_color); - let future_style = Style::from(CONFIGURATION.future_color); + let goal_reached_style = Style::from(CONFIGURATION.reached_color()); + let todo_style = Style::from(CONFIGURATION.todo_color()); + let future_style = Style::from(CONFIGURATION.future_color()); let strikethrough = Style::from(Effect::Strikethrough); -- cgit v1.2.3