Skip to content

Commit

Permalink
Fix archive importing
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDoctorDE committed Oct 26, 2024
1 parent 877d390 commit 855d066
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 2 additions & 4 deletions app/lib/services/import.dart
Original file line number Diff line number Diff line change
Expand Up @@ -764,11 +764,9 @@ class ImportService {
for (final file in archive) {
const fileExtension = '.bfly';
if (!file.name.endsWith(fileExtension)) continue;
final document = await importBfly(file.content);
final document = await importBfly(file.content, advanced: false);
if (document != null) {
fileSystem.createFile(
file.name.substring(0, file.name.length - fileExtension.length),
document);
fileSystem.createFile(file.name, document);
}
}
return true;
Expand Down
1 change: 1 addition & 0 deletions metadata/en-US/changelogs/120.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
* Fix directory deletion in native file system
* Fix property view logic
* Fix property view ui padding
* Fix archive importing

Read more here: https://linwood.dev/butterfly/2.3.0-beta.0

0 comments on commit 855d066

Please sign in to comment.