mirror of
https://github.com/zontreck/NBTEditor
synced 2024-11-21 05:25:54 -07:00
Fix a syntax problem
This commit is contained in:
parent
3ced797407
commit
6172338a00
1 changed files with 1 additions and 1 deletions
|
@ -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.');
|
||||
|
|
Loading…
Reference in a new issue