Merge branch 'service'

This commit is contained in:
rustdesk
2022-04-07 21:22:40 +08:00
4 changed files with 185 additions and 138 deletions

View File

@@ -235,7 +235,6 @@ class FfiModel with ChangeNotifier {
_pi.platform = evt['platform'];
_pi.sasEnabled = evt['sas_enabled'] == "true";
_pi.currentDisplay = int.parse(evt['current_display']);
_pi.homeDir = evt['home_dir'];
if (evt['is_file_transfer'] == "true") {
FFI.fileModel.onReady();
@@ -878,7 +877,6 @@ class PeerInfo {
String username = "";
String hostname = "";
String platform = "";
String homeDir = "";
bool sasEnabled = false;
int currentDisplay = 0;
List<Display> displays = [];