mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
fix: sftp open file on windows (#633)
This commit is contained in:
@@ -113,7 +113,7 @@ class _SftpMissionPageState extends State<SftpMissionPage> {
|
||||
children: [
|
||||
IconButton(
|
||||
onPressed: () {
|
||||
final idx = status.req.localPath.lastIndexOf('/');
|
||||
final idx = status.req.localPath.lastIndexOf(Pfs.seperator);
|
||||
final dir = status.req.localPath.substring(0, idx);
|
||||
LocalFilePage.route.go(
|
||||
context,
|
||||
|
||||
Reference in New Issue
Block a user