aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/BlueBubbles/webview.js
blob: cf4423bbf1c39f299c79735d136ad99f1fc7e28a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
const _path = _interopRequireDefault(require('path'));

function _interopRequireDefault(obj) {
  return obj && obj.__esModule ? obj : { default: obj };
}

module.exports = Ferdium => {
  // TODO: If your BlueBubbles service has unread messages, uncomment these lines to implement the logic for updating the badges
  // const getMessages = () => {
  //   // TODO: Insert your notification-finding code here
  //   Ferdium.setBadge(0, 0);
  // };
  // Ferdium.loop(getMessages);

  Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
};