opt: dual columns file-transfer in desktop version

Signed-off-by: Kingtous <kingtous@qq.com>
This commit is contained in:
Kingtous
2022-06-21 18:14:44 +08:00
parent 02aa676030
commit 5bfbb1b807
2 changed files with 32 additions and 24 deletions

View File

@@ -233,7 +233,12 @@ class FileModel extends ChangeNotifier {
}
refresh() {
openDirectory(currentDir.path);
if (isDesktop) {
openDirectory(currentRemoteDir.path);
openDirectory(currentLocalDir.path);
} else {
openDirectory(currentDir.path);
}
}
openDirectory(String path, {bool? isLocal}) async {