fix: switch to notif rate

This commit is contained in:
Xyphyn committed 2023-08-06 13:18:53 -07:00
1 parent 23a4d91970
commit bdd18d71fb
1 file changed
+4 -1
+4 -1
View File
@@ -274,4 +274,7 @@ export async function getInboxNotifications(dontUpdate: boolean = false) {
localStorage.setItem('seenUntil', Date.now().toString()) localStorage.setItem('seenUntil', Date.now().toString())
} }
setInterval(async () => getInboxNotifications(), 30 * 1000) setInterval(
async () => getInboxNotifications(),
get(userSettings).notifications.notifRate || 30 * 1000
)