diff options
author | Serene <33189705+Serene-Arc@users.noreply.github.com> | 2023-12-03 05:00:30 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-02 12:00:30 -0700 |
commit | 0ece08fb0d996d7276ead40ad83ba3a3f962622c (patch) | |
tree | d4555e311a015ef2c641a44f35a2afefa8ae7488 /recipes/wakapi/webview.js | |
parent | Fix selectors for Nextcloud Talk (#473) (diff) | |
download | ferdium-recipes-0ece08fb0d996d7276ead40ad83ba3a3f962622c.tar.gz ferdium-recipes-0ece08fb0d996d7276ead40ad83ba3a3f962622c.tar.zst ferdium-recipes-0ece08fb0d996d7276ead40ad83ba3a3f962622c.zip |
Add Wakapi recipe (#474)
Diffstat (limited to 'recipes/wakapi/webview.js')
-rw-r--r-- | recipes/wakapi/webview.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes/wakapi/webview.js b/recipes/wakapi/webview.js new file mode 100644 index 0000000..2a81dec --- /dev/null +++ b/recipes/wakapi/webview.js | |||
@@ -0,0 +1,16 @@ | |||
1 | function _interopRequireDefault(obj) { | ||
2 | return obj && obj.__esModule ? obj : { default: obj }; | ||
3 | } | ||
4 | |||
5 | const _path = _interopRequireDefault(require('path')); | ||
6 | |||
7 | module.exports = Ferdium => { | ||
8 | // TODO: If your SNAME service has unread messages, uncomment these lines to implement the logic for updating the badges | ||
9 | // const getMessages = () => { | ||
10 | // // TODO: Insert your notification-finding code here | ||
11 | // Ferdium.setBadge(0, 0); | ||
12 | // }; | ||
13 | // Ferdium.loop(getMessages); | ||
14 | |||
15 | Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
16 | }; | ||