aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/google-translate/webview.js
blob: 41aa5e0e5a466faf93193e938ecbc2b9f2d3b0fe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
var _path = _interopRequireDefault(require('path'));

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

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

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