Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
rustdesk committed Mar 7, 2024
1 parent b32cf40 commit 2628143
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/hbb_common/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1544,7 +1544,7 @@ impl UserDefaultConfig {
cfg.0.get(key)
}

fn load() -> UserDefaultConfig {
pub fn load() -> UserDefaultConfig {
Config::load_::<UserDefaultConfig>("_default")
}

Expand All @@ -1553,7 +1553,7 @@ impl UserDefaultConfig {
Config::store_(self, "_default");
}

fn get(&self, key: &str) -> String {
pub fn get(&self, key: &str) -> String {
match key {
"view_style" => self.get_string(key, "original", vec!["adaptive"]),
"scroll_style" => self.get_string(key, "scrollauto", vec!["scrollbar"]),
Expand Down

0 comments on commit 2628143

Please sign in to comment.