aboutsummaryrefslogtreecommitdiff
path: root/src/views
diff options
context:
space:
mode:
Diffstat (limited to 'src/views')
-rw-r--r--src/views/bitview.rs4
-rw-r--r--src/views/countview.rs3
2 files changed, 2 insertions, 5 deletions
diff --git a/src/views/bitview.rs b/src/views/bitview.rs
index 16b3ad8..b31b050 100644
--- a/src/views/bitview.rs
+++ b/src/views/bitview.rs
@@ -1,7 +1,6 @@
1use cursive::direction::Direction; 1use cursive::direction::Direction;
2use cursive::event::{Event, EventResult, Key}; 2use cursive::event::{Event, EventResult, Key};
3use cursive::theme::{BaseColor, Color, Effect, Style}; 3use cursive::theme::{BaseColor, Color, Style};
4use cursive::utils::markup::StyledString;
5use cursive::view::View; 4use cursive::view::View;
6use cursive::{Printer, Vec2}; 5use cursive::{Printer, Vec2};
7 6
@@ -46,7 +45,6 @@ impl View for BitView {
46 let true_style = Style::from(Color::Dark(BaseColor::Cyan)); 45 let true_style = Style::from(Color::Dark(BaseColor::Cyan));
47 let false_style = Style::from(Color::Dark(BaseColor::Magenta)); 46 let false_style = Style::from(Color::Dark(BaseColor::Magenta));
48 let future_style = Style::from(Color::Light(BaseColor::Black)); 47 let future_style = Style::from(Color::Light(BaseColor::Black));
49 let today_style = Style::from(Color::Dark(BaseColor::White));
50 48
51 for i in 1..=31 { 49 for i in 1..=31 {
52 let day = NaiveDate::from_ymd_opt(year, month, i); 50 let day = NaiveDate::from_ymd_opt(year, month, i);
diff --git a/src/views/countview.rs b/src/views/countview.rs
index 1e8855a..d906acb 100644
--- a/src/views/countview.rs
+++ b/src/views/countview.rs
@@ -1,7 +1,6 @@
1use cursive::direction::Direction; 1use cursive::direction::Direction;
2use cursive::event::{Event, EventResult, Key}; 2use cursive::event::{Event, EventResult, Key};
3use cursive::theme::{BaseColor, Color, Effect, Style}; 3use cursive::theme::{BaseColor, Color, Style};
4use cursive::utils::markup::StyledString;
5use cursive::view::View; 4use cursive::view::View;
6use cursive::{Printer, Vec2}; 5use cursive::{Printer, Vec2};
7 6