mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
@@ -257,7 +257,7 @@ impl InvokeUiSession for FlutterHandler {
|
||||
self.push_event(
|
||||
"switch_display",
|
||||
vec![
|
||||
("display", &display.to_string()),
|
||||
("display", &display.display.to_string()),
|
||||
("x", &display.x.to_string()),
|
||||
("y", &display.y.to_string()),
|
||||
("width", &display.width.to_string()),
|
||||
@@ -485,4 +485,4 @@ pub fn make_fd_flutter(id: i32, entries: &Vec<FileEntry>, only_count: bool) -> S
|
||||
}
|
||||
m.insert("total_size".into(), json!(n as f64));
|
||||
serde_json::to_string(&m).unwrap_or("".into())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user