Update StatsManager Initialization
This commit is contained in:
parent
5e970cad74
commit
f43895645f
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ export default class BetterWordCount extends Plugin {
|
||||||
|
|
||||||
// Handle Statistics
|
// Handle Statistics
|
||||||
if (this.settings.collectStats) {
|
if (this.settings.collectStats) {
|
||||||
this.statsManager = new StatsManager(this.app.vault, this.app.workspace);
|
this.statsManager = new StatsManager(this.app.vault, this.app.workspace, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Handle Status Bar
|
// Handle Status Bar
|
||||||
|
|
Loading…
Reference in a new issue