blob: f905e409e187f1d99a68b312974245120e6925ad (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
module.exports = Ferdium => {
const getMessages = () => {
// eslint-disable-next-line no-undef
const count = feedbin.count_data.unread_entries.length > 0 || 0;
Ferdium.setBadge(count);
};
Ferdium.loop(getMessages);
};
|