An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.
Rust androidanydeskdartflatpakflutterflutter-appsioslinuxmacosp2prdpremote-controlremote-desktoprustrust-langteamviewervncwaylandwindows
fix keep peer card order when connect failed
21pages5028b8a93dfa
diff --git a/src/client.rs b/src/client.rsindex 9c039464c..e9d319685 100644--- a/src/client.rs+++ b/src/client.rs@@ -1151,6 +1151,10 @@ impl LoginConfigHandler {////// * `config` - [`PeerConfig`] to save.pub fn save_config(&mut self, config: PeerConfig) {+ if self.version == 0 {+ log::info!("skip saving peer config {}", self.id);+ return;+ }config.store(&self.id);self.config = config;}@@ -1209,10 +1213,6 @@ impl LoginConfigHandler {/// * `k` - key of option/// * `v` - value of optionpub fn save_ui_flutter(&mut self, k: String, v: String) {- if self.version == 0 && k == "wm_" {- log::info!("skip saving {k}");- return;- }let mut config = self.load_config();config.ui_flutter.insert(k, v);self.save_config(config);