mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 21:19:21 +03:00
This commit is contained in:
parent
d291716489
commit
4257d9ca78
8 changed files with 16 additions and 37 deletions
|
|
@ -84,12 +84,6 @@ class NotificationUserStore {
|
|||
};
|
||||
}
|
||||
|
||||
this.computers();
|
||||
|
||||
this.initNotificationPlayer();
|
||||
}
|
||||
|
||||
computers() {
|
||||
this.isDesktopNotificationSupported = ko.computed(
|
||||
() => DesktopNotification.NotSupported !== this.desktopNotificationPermissions()
|
||||
);
|
||||
|
|
@ -99,6 +93,8 @@ class NotificationUserStore {
|
|||
DesktopNotification.NotSupported === this.desktopNotificationPermissions() ||
|
||||
DesktopNotification.Denied === this.desktopNotificationPermissions()
|
||||
);
|
||||
|
||||
this.initNotificationPlayer();
|
||||
}
|
||||
|
||||
initNotificationPlayer() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue