remove files old version compat

This commit is contained in:
csf 2022-04-07 23:45:19 +08:00
parent 7cdda6d83d
commit 320d259e94
2 changed files with 3 additions and 1 deletions

View File

@ -285,6 +285,9 @@ class FileModel extends ChangeNotifier {
showLoading(translate("Waiting"));
final fd = await _fileFetcher.fetchDirectoryRecursive(
_jobId, item.path, items.isLocal!, true);
if (fd.path.isEmpty) {
fd.path = item.path;
}
fd.format(isWindows);
EasyLoading.dismiss();
if (fd.entries.isEmpty) {

View File

@ -118,7 +118,6 @@ class FfiModel with ChangeNotifier {
var evt = FFI.popEvent();
if (evt == null) break;
var name = evt['name'];
debugPrint("got message:$name");
if (name == 'msgbox') {
handleMsgBox(evt, peerId);
} else if (name == 'peer_info') {