From e8832d593766d083270f9c092dd060f39cad24c8 Mon Sep 17 00:00:00 2001 From: 630811 Date: Tue, 9 Jul 2024 10:58:22 -0500 Subject: [PATCH] update priority --- src/banner.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/banner.ts b/src/banner.ts index 9372268a..7b3c975e 100644 --- a/src/banner.ts +++ b/src/banner.ts @@ -13,7 +13,7 @@ export default class Banner { endTime: number, message: string, enabled: true, - priority: 0, + alertStyle: 0, order: 0 ) { this.id = id; @@ -21,12 +21,12 @@ export default class Banner { this.endTime = endTime; this.message = message; this.enabled = enabled; - this.alertStyle = priority; + this.alertStyle = alertStyle; this.order = order; } - setPriority(priority: number): void { - this.alertStyle = priority; + setAlertStyle(alertStyle: number): void { + this.alertStyle = alertStyle; } setOrder(order: number): void {