An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.
Rust androidanydeskdartflatpakflutterflutter-appsioslinuxmacosp2prdpremote-controlremote-desktoprustrust-langteamviewervncwaylandwindows
fix ab cache not work, set current ab name after load cache (#7542)
21pages0c32a889a91e
diff --git a/flutter/lib/models/ab_model.dart b/flutter/lib/models/ab_model.dartindex 1fdb297c7..b52c90516 100644--- a/flutter/lib/models/ab_model.dart+++ b/flutter/lib/models/ab_model.dart@@ -562,6 +562,10 @@ class AbModel {final data = jsonDecode(cache);if (data == null || data['access_token'] != access_token) return;_deserializeCache(data);+ final name = bind.getLocalFlutterOption(k: 'current-ab-name');+ if (addressbooks.containsKey(name)) {+ _currentName.value = name;+ }} catch (e) {debugPrint("load ab cache: $e");}