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
This commit is contained in:
@@ -113,7 +113,7 @@ class _SftpMissionPageState extends State<SftpMissionPage> {
|
|||||||
children: [
|
children: [
|
||||||
IconButton(
|
IconButton(
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
final idx = status.req.localPath.lastIndexOf('/');
|
final idx = status.req.localPath.lastIndexOf(Pfs.seperator);
|
||||||
final dir = status.req.localPath.substring(0, idx);
|
final dir = status.req.localPath.substring(0, idx);
|
||||||
LocalFilePage.route.go(
|
LocalFilePage.route.go(
|
||||||
context,
|
context,
|
||||||
|
|||||||
Reference in New Issue
Block a user