mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-04 04:26:35 +02:00
Preferences changes
Changed translations, reordered preferences and added a "disable notifications" button to the notifications. Fixed #24, #25 and #26
This commit is contained in:
parent
b6ac2248f3
commit
233cfd1f6a
5 changed files with 47 additions and 27 deletions
|
@ -197,6 +197,14 @@
|
|||
updateWhiteList();
|
||||
workers.forEach(checkWorker);
|
||||
}
|
||||
},
|
||||
{
|
||||
label: _("disableNotifications"),
|
||||
accessKey: "",
|
||||
callback: function(){
|
||||
prefs.showNotifications = false;
|
||||
prefService.set("extensions.CanvasBlocker@kkapsner.de.showNotifications", prefs.showNotifications);
|
||||
}
|
||||
}
|
||||
];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue