Skip to content

Commit

Permalink
Added notice about how it could take a few minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
Pseudonium committed Dec 13, 2020
1 parent 8b6209b commit 2ee0ccf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ export default class MyPlugin extends Plugin {
new Notice("Error, couldn't connect to Anki! Check console for error message.")
return
}
new Notice("Successfully connected to Anki! This could take a few minutes - please don't close Anki until the plugin is finished")
const data: ParsedSettings = await settingToData(this.app, this.settings, this.fields_dict)
const manager = new FileManager(this.app, data, this.app.vault.getMarkdownFiles(), this.file_hashes, this.added_media)
await manager.initialiseFiles()
Expand Down

0 comments on commit 2ee0ccf

Please sign in to comment.