🆙 Fixed some minor bugs

This commit is contained in:
duckietm
2026-04-08 14:06:25 +02:00
parent 4a492d7b44
commit 5bff312b3b
9 changed files with 109 additions and 86 deletions
@@ -9,8 +9,9 @@ export class NotificationBubbleItem
private _notificationType: string;
private _iconUrl: string;
private _linkUrl: string;
private _senderName: string;
constructor(message: string, notificationType: string = NotificationBubbleType.INFO, iconUrl: string = null, linkUrl: string = null)
constructor(message: string, notificationType: string = NotificationBubbleType.INFO, iconUrl: string = null, linkUrl: string = null, senderName: string = '')
{
NotificationBubbleItem.ITEM_ID += 1;
@@ -19,6 +20,7 @@ export class NotificationBubbleItem
this._notificationType = notificationType;
this._iconUrl = iconUrl;
this._linkUrl = linkUrl;
this._senderName = senderName;
}
public get id(): number
@@ -45,4 +47,9 @@ export class NotificationBubbleItem
{
return this._linkUrl;
}
public get senderName(): string
{
return this._senderName;
}
}