Revert "config for gui.format"

This reverts commit 3ad12fcd29.
master
bel 2023-03-24 22:53:35 -06:00
parent 3ad12fcd29
commit e611e56d72
1 changed files with 0 additions and 8 deletions

View File

@ -39,7 +39,6 @@ pub struct GUI {
pub buttons: Buttons,
pub press: PreSufFix,
pub release: PreSufFix,
pub format: Option<String>,
}
#[derive(Serialize, Deserialize, Debug)]
@ -129,13 +128,6 @@ fn build_config_std() -> Config {
prefix: env::var("INPUT_GUI_RELEASE_PREFIX").unwrap_or(String::from("!")),
suffix: env::var("INPUT_GUI_RELEASE_SUFFIX").unwrap_or(String::from("")),
},
format: match env::var("INPUT_GUI_FORMAT") {
Ok(x) => Some(x),
Err(_) => match env::var("INPUT_GUI_FORMAT_V01").unwrap_or(String::from("false")) == String::from("true") {
true => Some(String::from("TODO")),
false => None,
},
},
}),
device: None,
udp: Some(UDP{