diff --git a/src/bridge/handler.rs b/src/bridge/handler.rs index 08cb727..f059d9f 100644 --- a/src/bridge/handler.rs +++ b/src/bridge/handler.rs @@ -8,7 +8,9 @@ use rmpv::Value; use tokio::task; use super::events::{parse_redraw_event, RedrawEvent}; -use super::ui_commands::{ParallelCommand, UiCommand}; +#[cfg(windows)] +use super::ui_commands::ParallelCommand; +use super::ui_commands::UiCommand; use crate::bridge::TxWrapper; use crate::channel_utils::*; use crate::error_handling::ResultPanicExplanation;