Skip to content

Commit

Permalink
Merge pull request #48 from DylanHojnoski/mobile_png_bug
Browse files Browse the repository at this point in the history
Export PNG bug
  • Loading branch information
DylanHojnoski authored Oct 13, 2024
2 parents 8cd28d7 + 02a3aac commit 1c24355
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/exportModal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,7 @@ export class ExportModal extends Modal {
u8arr[i] = bstr.charCodeAt(i);
}

//@ts-ignore
this.app.vault.create(path, u8arr);
this.app.vault.createBinary(path, u8arr);
}
else {
this.app.vault.create(path, this.svgs[graphNumber-1]);
Expand Down

0 comments on commit 1c24355

Please sign in to comment.