file transfer search bar pop_menu show Windows drives

This commit is contained in:
csf
2022-10-18 23:56:36 +09:00
parent e23fa8c806
commit 0c976a6644
6 changed files with 251 additions and 168 deletions

View File

@@ -402,6 +402,10 @@ class FileModel extends ChangeNotifier {
}
}
Future<FileDirectory> fetchDirectory(path, isLocal, showHidden) async {
return await _fileFetcher.fetchDirectory(path, isLocal, showHidden);
}
void pushHistory(bool isLocal) {
final history = isLocal ? localHistory : remoteHistory;
final currPath = isLocal ? currentLocalDir.path : currentRemoteDir.path;