update android file UI

This commit is contained in:
csf committed 2022-04-07 20:40:51 +08:00
1 parent 88b3144026
commit d8b3fd43f5
2 files changed
+114 -106

No files matched your search

+1 -3
View File
@@ -229,9 +229,7 @@ class FileModel extends ChangeNotifier {
}
goToParentDirectory() {
final isWindows =
_isLocal ? _localOption.isWindows : _remoteOption.isWindows;
final parent = PathUtil.dirname(currentDir.path, isWindows);
final parent = PathUtil.dirname(currentDir.path, currentIsWindows);
openDirectory(parent);
}