fix build without tracing
This commit is contained in:
parent
83ffb682d6
commit
daf78f0547
|
@ -11,6 +11,7 @@ use crate::ui::{
|
||||||
CalendarViewMode as ViewMode,
|
CalendarViewMode as ViewMode,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
#[cfg(feature = "tracing")]
|
||||||
use crate::tracepoints;
|
use crate::tracepoints;
|
||||||
use chrono::{Datelike, NaiveDate, Months, Utc, Days};
|
use chrono::{Datelike, NaiveDate, Months, Utc, Days};
|
||||||
use std::path;
|
use std::path;
|
||||||
|
@ -110,8 +111,8 @@ impl CalendarApp {
|
||||||
let container = Container::new(content)
|
let container = Container::new(content)
|
||||||
.width(Length::Fill)
|
.width(Length::Fill)
|
||||||
.height(Length::Fill)
|
.height(Length::Fill)
|
||||||
.center_x()
|
.center_x(Length::Fill)
|
||||||
.center_y()
|
.center_y(Length::Fill)
|
||||||
.into();
|
.into();
|
||||||
|
|
||||||
#[cfg(feature = "tracing")]
|
#[cfg(feature = "tracing")]
|
||||||
|
|
Loading…
Reference in New Issue