Fix a syntax problem

This commit is contained in:
zontreck 2024-07-24 17:17:19 -07:00
parent 3ced797407
commit 6172338a00

View file

@ -94,7 +94,7 @@ class EditorState extends State<Editor> {
if (result != null) {
// Do something with the selected file path
print('Selected file path: $filePath');
filePath = result!.files.first.path;
filePath = result.files.first.path;
} else {
// User canceled the picker
print('File selection canceled.');