Skip to content

Commit

Permalink
Prettier changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sashank999 committed Jun 15, 2024
1 parent 8a830a5 commit e4ae697
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions extension/scripts/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -1761,8 +1761,12 @@ async function notifyUser(title, message, url) {
const silent = hasSilentSupport() && notificationSound !== "default";

if (settings.notifications.tts) {
readMessage(title).then(() => {}).catch(err => console.error(err));
readMessage(message).then(() => {}).catch(err => console.error(err));
readMessage(title)
.then(() => {})
.catch((err) => console.error(err));
readMessage(message)
.then(() => {})
.catch((err) => console.error(err));
}

try {
Expand Down Expand Up @@ -1854,7 +1858,7 @@ async function notifyUser(title, message, url) {
await chrome.runtime.sendMessage({
offscreen: "tts",
text: text,
volume: settings.notifications.volume / 100
volume: settings.notifications.volume / 100,
});
}
}
Expand Down

0 comments on commit e4ae697

Please sign in to comment.