Skip to content

Commit

Permalink
comment out iced_aw in file_date filter
Browse files Browse the repository at this point in the history
  • Loading branch information
B0ney committed Dec 22, 2023
1 parent 97cc5e2 commit b83c3d8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/screen/config/custom_filters/file_date.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ use iced::widget::{
button, checkbox, column, horizontal_rule, pick_list, row, slider, text, text_input, tooltip,
};

use iced_aw::{date_picker::Date as icedDate, helpers::date_picker};
// use iced_aw::{date_picker::Date as icedDate, helpers::date_picker};

#[derive(Debug, Clone, Copy)]
pub enum Message {
DatePicker(DateKind),
CancelPicker,
SubmitDate {
kind: DateKind,
date: iced_aw::core::date::Date,
// date: iced_aw::core::date::Date,
},
Condition(Condition),
}
Expand All @@ -48,11 +48,11 @@ impl DateFilter {
self.show_date_picker = true;
},
Message::CancelPicker => self.show_date_picker = false,
Message::SubmitDate { date, kind } => {
match kind {
DateKind::Before => self.inner.before = Some(date.into()),
DateKind::After => self.inner.after = Some(date.into()),
}
Message::SubmitDate { kind } => {
// match kind {
// DateKind::Before => self.inner.before = Some(date.into()),
// DateKind::After => self.inner.after = Some(date.into()),
// }

self.show_date_picker = false;
},
Expand Down

0 comments on commit b83c3d8

Please sign in to comment.