From 2b9ff50fa17b67391e12a1001657f76837daafac Mon Sep 17 00:00:00 2001 From: Benjamin Klum Date: Wed, 1 Nov 2023 23:42:12 +0100 Subject: [PATCH] Fix clippy warning when building without egui and Playtime (Linux) --- main/src/infrastructure/ui/independent_panel_manager.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/src/infrastructure/ui/independent_panel_manager.rs b/main/src/infrastructure/ui/independent_panel_manager.rs index 15a748475..ef4ddc592 100644 --- a/main/src/infrastructure/ui/independent_panel_manager.rs +++ b/main/src/infrastructure/ui/independent_panel_manager.rs @@ -28,9 +28,9 @@ impl IndependentPanelManager { session: session.clone(), main_panel, mapping_panels: Default::default(), - message_panel: SharedView::new(SessionMessagePanel::new(session.clone())), #[cfg(feature = "playtime")] - app_panel: SharedView::new(crate::infrastructure::ui::AppPanel::new(session)), + app_panel: SharedView::new(crate::infrastructure::ui::AppPanel::new(session.clone())), + message_panel: SharedView::new(SessionMessagePanel::new(session)), } }