Pick up new events API

This commit is contained in:
Andras Schmelczer 2025-12-07 14:46:41 +00:00
commit c6f7ae1677

View file

@ -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}`