mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-09 08:49:12 +00:00
get_local_option for ui style, todo: set_local_option
This commit is contained in:
1 parent
365fc90d8b
commit
3491c79cbc
5 files changed
+9
-5
No files matched your search
+1
-1
@@ -6,7 +6,7 @@ function getSessionsStyleOption(type) {
|
||||
}
|
||||
|
||||
function getSessionsStyle(type) {
|
||||
var v = handler.get_option(getSessionsStyleOption(type));
|
||||
var v = handler.get_local_option(getSessionsStyleOption(type));
|
||||
if (!v) v = type == "ab" ? "list" : "tile";
|
||||
return v;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user