new mac service and local config

This commit is contained in:
rustdesk committed 2022-04-26 11:19:45 +08:00
1 parent 05ac26e5fe
commit 3566b0ee7a
15 files changed
+308 -419

No files matched your search

+2 -2
View File
@@ -66,7 +66,7 @@ class SessionStyle: Reactor.Component {
event click $(span.inactive) {
var option = getSessionsStyleOption(this.type);
var sessionsStyle = getSessionsStyle(this.type);
handler.set_option(option, sessionsStyle == "tile" ? "list" : "tile");
handler.set_local_option(option, sessionsStyle == "tile" ? "list" : "tile");
app.multipleSessions.update();
}
}
@@ -294,7 +294,7 @@ class MultipleSessions: Reactor.Component {
if (el.id == "lan") {
discover();
}
handler.set_option('show-sessions-type', el.id || "");
handler.set_local_option('show-sessions-type', el.id || "");
this.stupidUpdate();
}