feat(notification): nope

This commit is contained in:
wryk 2019-05-20 20:35:02 +02:00
parent 6e83c88c04
commit 7c33858bbc

View file

@ -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>