mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-04-22 20:44:50 +00:00
chore: format
This commit is contained in:
parent
f651bb1272
commit
1b6f1226e0
2 changed files with 6 additions and 5 deletions
|
@ -30,6 +30,7 @@ pub mod func_runner;
|
|||
pub mod gpu_profile;
|
||||
pub mod log_level;
|
||||
pub mod log_parser;
|
||||
pub mod monado_utils;
|
||||
pub mod paths;
|
||||
pub mod profile;
|
||||
pub mod profiles;
|
||||
|
@ -38,7 +39,6 @@ pub mod runner_pipeline;
|
|||
pub mod steamvr_utils;
|
||||
pub mod ui;
|
||||
pub mod xr_devices;
|
||||
pub mod monado_utils;
|
||||
|
||||
fn restore_steam_xr_files() {
|
||||
let active_runtime = get_current_active_runtime();
|
||||
|
|
|
@ -311,10 +311,11 @@ impl SimpleComponent for App {
|
|||
self.main_view.sender().emit(MainViewMsg::ClockTicking);
|
||||
if let Some(w) = self.xrservice_worker.as_ref() {
|
||||
if w.state.lock().unwrap().exit_status.is_none() {
|
||||
self.xr_devices.merge(XRDevices::from_libmonado(&self.get_selected_profile()));
|
||||
self.main_view.sender().emit(MainViewMsg::UpdateDevices(
|
||||
Some(self.xr_devices.clone()),
|
||||
));
|
||||
self.xr_devices
|
||||
.merge(XRDevices::from_libmonado(&self.get_selected_profile()));
|
||||
self.main_view
|
||||
.sender()
|
||||
.emit(MainViewMsg::UpdateDevices(Some(self.xr_devices.clone())));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue