Skip to content

Commit

Permalink
Fix adding template instead of document when clicking create file in …
Browse files Browse the repository at this point in the history
…files view
  • Loading branch information
CodeDoctorDE committed Oct 11, 2023
1 parent dd6d228 commit c33c413
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/views/files.dart
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ class _FilesViewState extends State<FilesView> {
if (!newPath.endsWith('.bfly')) {
newPath += '.bfly';
}
await _fileSystem.updateDocument(newPath, asset);
await _fileSystem.updateDocument(newPath, asset.createDocument());
_reloadFileSystem();
}
},
Expand Down
1 change: 1 addition & 0 deletions fastlane/metadata/android/en-US/changelogs/74.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* Change the zoom slider to operate in realtime in style view
* Change reload button icon in remote button
* Rename document directory to data directory
* Fix adding template instead of document when clicking create file in files view
* Improve documentation

View all changes in the blog: https://linwood.dev/butterfly/2.0.0-beta.10

0 comments on commit c33c413

Please sign in to comment.