diff --git a/src/ui/app.rs b/src/ui/app.rs index c4ae23c..381d6c4 100644 --- a/src/ui/app.rs +++ b/src/ui/app.rs @@ -351,9 +351,7 @@ impl SimpleComponent for App { self.xr_devices = XRDevice::merge(&self.xr_devices, &n_devs); self.main_view .sender() - .emit(MainViewMsg::UpdateDevices( - self.xr_devices.clone(), - )); + .emit(MainViewMsg::UpdateDevices(self.xr_devices.clone())); } else if let Some(tracker) = XRDevice::generic_tracker_from_log_row(parsed.message.as_str()) { diff --git a/src/ui/feature_flags.rs b/src/ui/feature_flags.rs index ffdea46..3697538 100644 --- a/src/ui/feature_flags.rs +++ b/src/ui/feature_flags.rs @@ -1,10 +1,11 @@ -use std::env; use lazy_static::lazy_static; +use std::env; fn get_ff_libmonado_device_enumeration_enabled() -> bool { env::var("ENVISION_FF_USE_LIBMONADO").unwrap_or_default() == "1" } lazy_static! { - pub static ref FF_LIBMONADO_DEVICE_ENUMERATION_ENABLED: bool = get_ff_libmonado_device_enumeration_enabled(); + pub static ref FF_LIBMONADO_DEVICE_ENUMERATION_ENABLED: bool = + get_ff_libmonado_device_enumeration_enabled(); } diff --git a/src/ui/mod.rs b/src/ui/mod.rs index ef381fc..d5f1d84 100644 --- a/src/ui/mod.rs +++ b/src/ui/mod.rs @@ -6,6 +6,7 @@ pub mod debug_view; pub mod devices_box; pub mod factories; pub mod fbt_config_editor; +pub mod feature_flags; pub mod install_wivrn_box; pub mod job_worker; pub mod libsurvive_setup_window; @@ -16,4 +17,3 @@ pub mod profile_editor; pub mod steam_launch_options_box; pub mod util; pub mod wivrn_conf_editor; -pub mod feature_flags;