chore: format

This commit is contained in:
Gabriele Musco 2023-09-14 20:41:32 +02:00
parent f651bb1272
commit 1b6f1226e0
No known key found for this signature in database
GPG key ID: 1068D795C80E51DE
2 changed files with 6 additions and 5 deletions

View file

@ -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();

View file

@ -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())));
}
}
}