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