opt.
This commit is contained in:
@@ -180,11 +180,9 @@ class _SFTPDownloadedPageState extends State<SFTPDownloadedPage> {
|
||||
return;
|
||||
}
|
||||
final f = File(file.absolute.path);
|
||||
final data = await f.readAsString();
|
||||
final result = await AppRoute(
|
||||
EditorPage(
|
||||
initCode: data,
|
||||
path: fileName,
|
||||
path: file.absolute.path,
|
||||
),
|
||||
'sftp dled editor',
|
||||
).go<String>(context);
|
||||
|
||||
@@ -328,6 +328,7 @@ class _SFTPPageState extends State<SFTPPage> {
|
||||
)));
|
||||
return;
|
||||
}
|
||||
context.pop();
|
||||
|
||||
final remotePath = _getRemotePath(name);
|
||||
final localPath = await _getLocalPath(remotePath);
|
||||
|
||||
Reference in New Issue
Block a user