From 3a85f3da8bd78769bac2c433d9dc60df3da4f618 Mon Sep 17 00:00:00 2001 From: Brendan Chen Date: Thu, 27 Mar 2025 09:28:47 -0700 Subject: [PATCH] bind rest of notification scheduler methods to class --- src/notifications/schedulers/ETANotificationScheduler.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/notifications/schedulers/ETANotificationScheduler.ts b/src/notifications/schedulers/ETANotificationScheduler.ts index 8789cdd..50c92b8 100644 --- a/src/notifications/schedulers/ETANotificationScheduler.ts +++ b/src/notifications/schedulers/ETANotificationScheduler.ts @@ -32,6 +32,10 @@ export class ETANotificationScheduler { this.etaSubscriberCallback = this.etaSubscriberCallback.bind(this); this.sendEtaNotificationImmediatelyIfSecondsRemainingBelowThreshold = this.sendEtaNotificationImmediatelyIfSecondsRemainingBelowThreshold.bind(this); this.scheduleNotification = this.scheduleNotification.bind(this); + this.cancelNotificationIfExists = this.cancelNotificationIfExists.bind(this); + this.isNotificationScheduled = this.isNotificationScheduled.bind(this); + this.getSecondsThresholdForScheduledNotification = this.getSecondsThresholdForScheduledNotification.bind(this); + this.getAllScheduledNotificationsForDevice = this.getAllScheduledNotificationsForDevice.bind(this); } /**