Add notification support with enable/disable functionality and sound effects for new messages.
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
<div class="full-width"
|
||||
[style.background-color]="getServerColor(selectedServer())">
|
||||
<span class="server" [style.color]="getServerTextColor(selectedServer())">
|
||||
{{ selectedServer() }}
|
||||
</span>
|
||||
<span class="server" [style.color]="getServerTextColor(selectedServer())">
|
||||
{{ selectedServer() }}
|
||||
</span>
|
||||
<div class="notification-icon">
|
||||
@if (notificationEnabled()) {
|
||||
<svg-notification-enabled (click)="disableNotifications()"/>
|
||||
} @else {
|
||||
<svg-notification-disabled (click)="enableNotifications()"/>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user