Skip to content

Commit

Permalink
fix: sftp open file on windows (#633)
Browse files Browse the repository at this point in the history
  • Loading branch information
No06 authored Nov 14, 2024
1 parent 7dda63a commit d706886
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/view/page/storage/sftp_mission.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d706886

Please sign in to comment.