mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Set badge count
This is displayed on the launcher icon on linux/mac // FREEBIE
This commit is contained in:
@@ -8,6 +8,9 @@
|
||||
const ipc = electron.ipcRenderer
|
||||
window.config.locale_json = ipc.sendSync('locale-data');
|
||||
|
||||
window.setBadgeCount = function(count) {
|
||||
ipc.send('set-badge-count', count);
|
||||
};
|
||||
/**
|
||||
* Enables spell-checking and the right-click context menu in text editors.
|
||||
* Electron (`webFrame.setSpellCheckProvider`) only underlines misspelled words;
|
||||
|
||||
Reference in New Issue
Block a user