mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
opt: dark theme, add follow system mode
This commit is contained in:
@@ -379,8 +379,8 @@ pub mod connection_manager {
|
||||
);
|
||||
}
|
||||
|
||||
fn change_theme(&self, dark: bool) {
|
||||
self.push_event("theme", vec![("dark", &dark.to_string())]);
|
||||
fn change_theme(&self, dark: String) {
|
||||
self.push_event("theme", vec![("dark", &dark)]);
|
||||
}
|
||||
|
||||
fn change_language(&self) {
|
||||
|
||||
Reference in New Issue
Block a user