fix remote home dir

This commit is contained in:
csf
2022-04-07 16:20:32 +08:00
parent e780fd9253
commit 1ab99075ce
4 changed files with 80 additions and 47 deletions

View File

@@ -236,7 +236,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();
@@ -879,7 +878,6 @@ class PeerInfo {
String username = "";
String hostname = "";
String platform = "";
String homeDir = "";
bool sasEnabled = false;
int currentDisplay = 0;
List<Display> displays = [];