From 653882fe66b5aeacd49363873e6d349f4c054ef4 Mon Sep 17 00:00:00 2001 From: galister <22305755+galister@users.noreply.github.com> Date: Sat, 10 Jan 2026 19:04:19 +0900 Subject: [PATCH] fix app_launcher not showing --- dash-frontend/src/views/app_launcher.rs | 38 ++++++++++++------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/dash-frontend/src/views/app_launcher.rs b/dash-frontend/src/views/app_launcher.rs index c1a82aac..2ee63020 100644 --- a/dash-frontend/src/views/app_launcher.rs +++ b/dash-frontend/src/views/app_launcher.rs @@ -117,7 +117,7 @@ impl View { let radio_compositor = state.fetch_component_as::("radio_compositor")?; let radio_res = state.fetch_component_as::("radio_res")?; - let radio_pos = state.fetch_component_as::("radio_pos")?; + // let radio_pos = state.fetch_component_as::("radio_pos")?; let radio_orientation = state.fetch_component_as::("radio_orientation")?; let cb_autostart = state.fetch_component_as::("cb_autostart")?; @@ -214,24 +214,24 @@ impl View { }) }); - radio_pos.on_value_changed({ - let tasks = tasks.clone(); - Box::new(move |_, ev| { - if let Some(mode) = ev.value.and_then(|v| { - PosMode::from_str(&*v) - .inspect_err(|_| { - log::error!( - "Invalid value for position: '{v}'. Valid values are: {:?}", - PosMode::VARIANTS - ) - }) - .ok() - }) { - tasks.push(Task::SetPos(mode)); - } - Ok(()) - }) - }); + // radio_pos.on_value_changed({ + // let tasks = tasks.clone(); + // Box::new(move |_, ev| { + // if let Some(mode) = ev.value.and_then(|v| { + // PosMode::from_str(&*v) + // .inspect_err(|_| { + // log::error!( + // "Invalid value for position: '{v}'. Valid values are: {:?}", + // PosMode::VARIANTS + // ) + // }) + // .ok() + // }) { + // tasks.push(Task::SetPos(mode)); + // } + // Ok(()) + // }) + // }); radio_orientation.on_value_changed({ let tasks = tasks.clone();