diff --git a/src/app.rs b/src/app.rs index bdbf2db..49f4fbd 100644 --- a/src/app.rs +++ b/src/app.rs @@ -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")]