#157 new: icloud sync

This commit is contained in:
lollipopkit
2023-09-11 19:20:29 +08:00
parent ddaee7c2f3
commit e4fd75ac5a
22 changed files with 448 additions and 125 deletions

View File

@@ -50,7 +50,7 @@ class _LocalStoragePageState extends State<LocalStoragePage> {
} else {
sftpDir.then((dir) {
setState(() {
_path = LocalPath(dir.path);
_path = LocalPath(dir);
});
});
}

View File

@@ -642,7 +642,7 @@ class _SftpPageState extends State<SftpPage> with AfterLayoutMixin {
}
Future<String> _getLocalPath(String remotePath) async {
return '${(await sftpDir).path}$remotePath';
return '${await sftpDir}$remotePath';
}
/// Only return true if the path is changed