diff options
author | 2020-01-25 12:56:06 +0100 | |
---|---|---|
committer | 2020-01-25 12:56:06 +0100 | |
commit | ed4120e718dce78a102b3b86b055e6600be2e346 (patch) | |
tree | 5bbd0145140fdc09caaa4d182a3a82038a6d81b5 /uncompressed/NewsBlur/webview.js | |
parent | #29 Add ZenHub (diff) | |
download | ferdium-recipes-ed4120e718dce78a102b3b86b055e6600be2e346.tar.gz ferdium-recipes-ed4120e718dce78a102b3b86b055e6600be2e346.tar.zst ferdium-recipes-ed4120e718dce78a102b3b86b055e6600be2e346.zip |
#27 Add NewsBlur
Diffstat (limited to 'uncompressed/NewsBlur/webview.js')
-rw-r--r-- | uncompressed/NewsBlur/webview.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/uncompressed/NewsBlur/webview.js b/uncompressed/NewsBlur/webview.js new file mode 100644 index 0000000..15704f4 --- /dev/null +++ b/uncompressed/NewsBlur/webview.js | |||
@@ -0,0 +1,11 @@ | |||
1 | const path = require('path'); | ||
2 | |||
3 | module.exports = (Franz, options) => { | ||
4 | const getMessages = () => { | ||
5 | const unreadCount = 0; | ||
6 | |||
7 | Franz.setBadge(unreadCount); | ||
8 | } | ||
9 | |||
10 | Franz.loop(getMessages); | ||
11 | }; | ||