allow disabling notifications.
This commit is contained in:
@@ -377,6 +377,7 @@ function Options() {
|
||||
|
||||
async function handleNotifications() {
|
||||
if (showNotifications) {
|
||||
await browser.storage.local.set({notifications: false})
|
||||
setNotifications(false)
|
||||
} else {
|
||||
let granted = await browser.permissions.request({
|
||||
|
||||
Reference in New Issue
Block a user