Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit 8d1b217

Browse files
committed
Return the value of the path.
1 parent 8f56715 commit 8d1b217

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/file_selector/file_selector_windows/lib/src/file_selector_dart/shell_win32_api.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ class ShellWin32Api {
3030
return '';
3131
}
3232

33-
final Pointer<Utf16> path = Pointer<Utf16>.fromAddress(ptrPath.address);
34-
return path.toDartString();
33+
return ptrPath.value.toDartString();
3534
});
3635
}
3736
}

0 commit comments

Comments
 (0)