Skip to content

Commit

Permalink
update priority
Browse files Browse the repository at this point in the history
  • Loading branch information
dmekala-va committed Jul 9, 2024
1 parent 4eb1c31 commit e8832d5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/banner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@ export default class Banner {
endTime: number,
message: string,
enabled: true,
priority: 0,
alertStyle: 0,
order: 0
) {
this.id = id;
this.startTime = startTime;
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 {
Expand Down

0 comments on commit e8832d5

Please sign in to comment.