Update dir after upload/download

This commit is contained in:
ChristianVisintin 2020-11-29 16:37:25 +01:00
parent 74a49485b6
commit 0ebbe40207

View file

@ -413,6 +413,10 @@ impl FileTransferActivity {
}
}
}
// Scan dir on remote
if let Ok(path) = self.client.pwd() {
self.remote_scan(path.as_path());
}
// Eventually, Reset input mode to explorer
self.input_mode = InputMode::Explorer;
}
@ -543,6 +547,8 @@ impl FileTransferActivity {
}
}
}
// Reload directory on local
self.local_scan(local_path);
// Eventually, Reset input mode to explorer
self.input_mode = InputMode::Explorer;
}