Added native os notifications
This commit is contained in:
1 parent
d1b50e2f1a
commit
84379baf6a
19 files changed
+213
-39
No files matched your search
@@ -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