mirror of
https://github.com/GuerillaStudio/souvenir.git
synced 2024-11-08 10:51:53 +00:00
feat(notification): nope
This commit is contained in:
parent
6e83c88c04
commit
7c33858bbc
1 changed files with 7 additions and 3 deletions
|
@ -85,8 +85,12 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
function showNotificationButton () {
|
function showNotificationButton () {
|
||||||
return ('Notification' in window) &&
|
return false
|
||||||
Notification.permission !== 'granted' &&
|
|
||||||
Notification.permission !== 'denied'
|
// TODO: fuuuuuuuuuuuuu android, I don't want to spawn notifications from a fucking service worker :<
|
||||||
|
|
||||||
|
// return ('Notification' in window) &&
|
||||||
|
// Notification.permission !== 'granted' &&
|
||||||
|
// Notification.permission !== 'denied'
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue