This commit is contained in:
rustdesk 2024-03-07 16:37:51 +08:00
parent b5a47efe8e
commit 75a871c437

View File

@ -150,11 +150,11 @@ fn handle_config_options(config_options: HashMap<String, String>) {
config_options config_options
.iter() .iter()
.map(|(k, v)| { .map(|(k, v)| {
if v.is_empty() { if v.is_empty() {
options.remove(k); options.remove(k);
} else { } else {
options.insert(k.to_string(), v.to_string()); options.insert(k.to_string(), v.to_string());
} }
}) })
.count(); .count();
Config::set_options(options); Config::set_options(options);