#157 new: icloud sync
This commit is contained in:
@@ -50,7 +50,7 @@ class _LocalStoragePageState extends State<LocalStoragePage> {
|
||||
} else {
|
||||
sftpDir.then((dir) {
|
||||
setState(() {
|
||||
_path = LocalPath(dir.path);
|
||||
_path = LocalPath(dir);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user