Skip to content

Commit

Permalink
pass button context in clearing
Browse files Browse the repository at this point in the history
  • Loading branch information
tadeoos committed Nov 5, 2021
1 parent fe08783 commit e18a34a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ export default class ReadwisePlugin extends Plugin {
this.notice("Syncing Readwise data");
return this.getExportStatus(data.latest_id, buttonContext);
} else {
this.handleSyncSuccess(null, ""); // should we pass the export id to update lastSavedStatusID?
this.handleSyncSuccess(buttonContext); // should we pass the export id to update lastSavedStatusID?
this.notice("Latest sync happened on different device...", false, 4, true);
}
} else {
Expand Down

0 comments on commit e18a34a

Please sign in to comment.