Added native os notifications
This commit is contained in:
@@ -14,9 +14,9 @@ export const useNotificationStore = defineStore('notifications', () => {
|
||||
latestNotification.value = notification;
|
||||
unreadCount.value++;
|
||||
|
||||
if (notification.is_achievement) {
|
||||
achievementSound.play().catch(() => {});
|
||||
}
|
||||
|
||||
achievementSound.play().catch(() => {});
|
||||
|
||||
}
|
||||
|
||||
async function dismiss(notification: Notification) {
|
||||
|
||||
Reference in New Issue
Block a user