diff options
author | Jordan Jennings <[email protected]> | 2020-07-25 05:59:53 +0100 |
---|---|---|
committer | Jordan Jennings <[email protected]> | 2020-07-25 05:59:53 +0100 |
commit | 7f65b6960b300727bc16dedc39d5793d4ea83a0a (patch) | |
tree | 3a513fdf6bc20127080c8868f2cc940f4cd0ec98 /src/views.rs | |
parent | 2dafbfe51b2b4ebafc21fe68a9b909ebe3a4e23b (diff) |
Add support for configuration file
Diffstat (limited to 'src/views.rs')
-rw-r--r-- | src/views.rs | 6 |
1 files changed, 3 insertions, 3 deletions
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 | |||
36 | let year = now.year(); | 36 | let year = now.year(); |
37 | let month = now.month(); | 37 | let month = now.month(); |
38 | 38 | ||
39 | let goal_reached_style = Style::from(CONFIGURATION.reached_color); | 39 | let goal_reached_style = Style::from(CONFIGURATION.reached_color()); |
40 | let todo_style = Style::from(CONFIGURATION.todo_color); | 40 | let todo_style = Style::from(CONFIGURATION.todo_color()); |
41 | let future_style = Style::from(CONFIGURATION.future_color); | 41 | let future_style = Style::from(CONFIGURATION.future_color()); |
42 | 42 | ||
43 | let strikethrough = Style::from(Effect::Strikethrough); | 43 | let strikethrough = Style::from(Effect::Strikethrough); |
44 | 44 | ||