fix: typos in profile editor

This commit is contained in:
Daniel Peukert 2024-08-02 10:25:41 +02:00 committed by Gabriele Musco
commit 3ca62c7d36
2 changed files with 3 additions and 3 deletions

View file

@ -41,7 +41,7 @@ fn env_var_descriptions() -> Vec<(&'static str, &'static str)> {
), ),
( (
"LH_DRIVER", "LH_DRIVER",
"Lighthouse driver, this overrides the \"Lighthouse driver option in the profile\"; Valid options are:\n\"vive\" for the default built-in driver;\n\"survive\" for Libsurvive;\n\"steamvr\" for the SteamVR based implementation." "Lighthouse driver, this overrides the \"Lighthouse driver\" option in the profile; Valid options are:\n\"vive\" for the default built-in driver;\n\"survive\" for Libsurvive;\n\"steamvr\" for the SteamVR based implementation."
), ),
( (
"LH_LOG", "LH_LOG",

View file

@ -138,12 +138,12 @@ impl SimpleComponent for ProfileEditor {
set_title: "XR Service", set_title: "XR Service",
set_description: Some(concat!( set_description: Some(concat!(
"For launch options, you can insert %command% as ", "For launch options, you can insert %command% as ",
"a placeholder for the actual XR Service command,", "a placeholder for the actual XR Service command, ",
"similarly to how Steam launch options work.", "similarly to how Steam launch options work.",
)), )),
add: &combo_row( add: &combo_row(
"XR Service Type", "XR Service Type",
Some("Monado is for PCVR headsets, while WiVRn is for Andorid standalone headsets"), Some("Monado is for PCVR headsets, while WiVRn is for Android standalone headsets"),
model.profile.borrow().xrservice_type.to_string().as_str(), model.profile.borrow().xrservice_type.to_string().as_str(),
XRServiceType::iter() XRServiceType::iter()
.map(XRServiceType::to_string) .map(XRServiceType::to_string)