fix: mobile view style, on conn (#9786)
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
@@ -1710,6 +1710,9 @@ impl UserDefaultConfig {
|
||||
|
||||
pub fn get(&self, key: &str) -> String {
|
||||
match key {
|
||||
#[cfg(any(target_os = "android", target_os = "ios"))]
|
||||
keys::OPTION_VIEW_STYLE => self.get_string(key, "adaptive", vec!["original"]),
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
keys::OPTION_VIEW_STYLE => self.get_string(key, "original", vec!["adaptive"]),
|
||||
keys::OPTION_SCROLL_STYLE => self.get_string(key, "scrollauto", vec!["scrollbar"]),
|
||||
keys::OPTION_IMAGE_QUALITY => {
|
||||
|
||||
Reference in New Issue
Block a user