Pick up new events API
This commit is contained in:
parent
ce31969a44
commit
c6f7ae1677
1 changed files with 17 additions and 17 deletions
|
|
@ -24,7 +24,7 @@ export class HistoryView extends ItemView {
|
|||
super(leaf);
|
||||
this.icon = HistoryView.ICON;
|
||||
|
||||
this.client.addSyncHistoryUpdateListener(async () =>
|
||||
this.client.onSyncHistoryUpdated.add(async () =>
|
||||
this.updateView().catch((error: unknown) => {
|
||||
this.client.logger.error(
|
||||
`Failed to update history view: ${error}`
|
||||
|
|
|
|||
Loading…
Reference in a new issue