mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-20 02:53:20 +03:00
fix ci
This commit is contained in:
@@ -1544,7 +1544,7 @@ impl UserDefaultConfig {
|
|||||||
cfg.0.get(key)
|
cfg.0.get(key)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn load() -> UserDefaultConfig {
|
pub fn load() -> UserDefaultConfig {
|
||||||
Config::load_::<UserDefaultConfig>("_default")
|
Config::load_::<UserDefaultConfig>("_default")
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1553,7 +1553,7 @@ impl UserDefaultConfig {
|
|||||||
Config::store_(self, "_default");
|
Config::store_(self, "_default");
|
||||||
}
|
}
|
||||||
|
|
||||||
fn get(&self, key: &str) -> String {
|
pub fn get(&self, key: &str) -> String {
|
||||||
match key {
|
match key {
|
||||||
"view_style" => self.get_string(key, "original", vec!["adaptive"]),
|
"view_style" => self.get_string(key, "original", vec!["adaptive"]),
|
||||||
"scroll_style" => self.get_string(key, "scrollauto", vec!["scrollbar"]),
|
"scroll_style" => self.get_string(key, "scrollauto", vec!["scrollbar"]),
|
||||||
|
|||||||
Reference in New Issue
Block a user