mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-05-10 18:06:01 +02:00
format
This commit is contained in:
parent
b5a47efe8e
commit
75a871c437
1 changed files with 5 additions and 5 deletions
|
@ -150,11 +150,11 @@ fn handle_config_options(config_options: HashMap<String, String>) {
|
|||
config_options
|
||||
.iter()
|
||||
.map(|(k, v)| {
|
||||
if v.is_empty() {
|
||||
options.remove(k);
|
||||
} else {
|
||||
options.insert(k.to_string(), v.to_string());
|
||||
}
|
||||
if v.is_empty() {
|
||||
options.remove(k);
|
||||
} else {
|
||||
options.insert(k.to_string(), v.to_string());
|
||||
}
|
||||
})
|
||||
.count();
|
||||
Config::set_options(options);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue