File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -619,6 +619,14 @@ export default class ReadwiseMirror extends Plugin {
619
619
this . headerTemplate = this . settings . headerTemplate ;
620
620
this . highlightTemplate = this . settings . highlightTemplate ;
621
621
622
+ this . deduplicatingVaultWriter = new DeduplicatingVaultWriter (
623
+ this . app ,
624
+ this . settings ,
625
+ this . frontmatterManager ,
626
+ this . logger ,
627
+ this . notify
628
+ ) ;
629
+
622
630
if ( ! this . settings . apiToken ) {
623
631
this . notify . notice ( 'Readwise: API Token not detected\nPlease enter in configuration page' ) ;
624
632
this . notify . setStatusBarText ( 'Readwise: API Token Required' ) ;
@@ -630,14 +638,6 @@ export default class ReadwiseMirror extends Plugin {
630
638
else this . notify . setStatusBarText ( 'Readwise: Click to Sync' ) ;
631
639
}
632
640
633
- this . deduplicatingVaultWriter = new DeduplicatingVaultWriter (
634
- this . app ,
635
- this . settings ,
636
- this . frontmatterManager ,
637
- this . logger ,
638
- this . notify
639
- ) ;
640
-
641
641
this . registerDomEvent ( statusBarItem , 'click' , this . sync . bind ( this ) ) ;
642
642
643
643
this . addCommand ( {
You can’t perform that action at this time.
0 commit comments