opt.: cancel sftp mission

This commit is contained in:
lollipopkit
2023-07-29 18:24:22 +08:00
parent e13c5910ec
commit 0f83d10bfa
12 changed files with 277 additions and 230 deletions

View File

@@ -24,6 +24,8 @@ class PathWithPrefix {
_path = pathJoin(_path, newPath);
}
bool get canBack => path != '$_prefixPath/';
bool undo() {
if (_prePath == null || _path == _prePath) {
return false;