mirror of
https://github.com/GuerillaStudio/souvenir.git
synced 2024-11-08 10:11:52 +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 () {
|
||||
return ('Notification' in window) &&
|
||||
Notification.permission !== 'granted' &&
|
||||
Notification.permission !== 'denied'
|
||||
return false
|
||||
|
||||
// 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>
|
||||
|
|
Loading…
Reference in a new issue