aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/BlueBubbles/webview.js
diff options
context:
space:
mode:
authorLibravatar httpsdalia <82799862+httpsdalia@users.noreply.github.com>2023-02-17 00:22:25 -0500
committerLibravatar GitHub <noreply@github.com>2023-02-17 05:22:25 +0000
commit761da71a160dc6dc10e38cd2e0e05b0cd53ee1d4 (patch)
tree32a192655f966bc21546ed5bf5fa96ebe35d7da8 /recipes/BlueBubbles/webview.js
parentdocs: add pre-flight checklist (diff)
downloadferdium-recipes-761da71a160dc6dc10e38cd2e0e05b0cd53ee1d4.tar.gz
ferdium-recipes-761da71a160dc6dc10e38cd2e0e05b0cd53ee1d4.tar.zst
ferdium-recipes-761da71a160dc6dc10e38cd2e0e05b0cd53ee1d4.zip
New Recipe BlueBubbles (#316)
Diffstat (limited to 'recipes/BlueBubbles/webview.js')
-rw-r--r--recipes/BlueBubbles/webview.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes/BlueBubbles/webview.js b/recipes/BlueBubbles/webview.js
new file mode 100644
index 0000000..cf4423b
--- /dev/null
+++ b/recipes/BlueBubbles/webview.js
@@ -0,0 +1,16 @@
1const _path = _interopRequireDefault(require('path'));
2
3function _interopRequireDefault(obj) {
4 return obj && obj.__esModule ? obj : { default: obj };
5}
6
7module.exports = Ferdium => {
8 // TODO: If your BlueBubbles 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};