Skip to content

Commit

Permalink
code clean
Browse files Browse the repository at this point in the history
  • Loading branch information
kctekn committed Oct 7, 2024
1 parent 7c37032 commit 0176b31
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/views/TagsRoutes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -448,10 +448,6 @@ export class TagRoutesView extends ItemView {
const base64Data = dataURL.split(',')[1];

const arrayBuffer = Uint8Array.from(atob(base64Data), c => c.charCodeAt(0)).buffer;
// const filePath = `${this.app.vault.configDir}/graph-screenshot-${Date.now()}.png`;
/* if (globalProgramControl.snapshotDirectory !== "") {
createFolderIfNotExists(globalProgramControl.snapshotDirectory)
} */
createFolderIfNotExists(this.plugin.settings.snapShotFolder)
const filePath = `${this.plugin.settings.snapShotFolder}/graph-screenshot-${moment(Date.now()).format('YYYY-MM-DD-HH-mm-ss')}.png`;

Expand Down

0 comments on commit 0176b31

Please sign in to comment.