fix build without tracing

This commit is contained in:
fab 2024-05-19 10:38:51 +02:00
parent 83ffb682d6
commit daf78f0547
1 changed files with 3 additions and 2 deletions

View File

@ -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")]