Skip to content

Commit

Permalink
Changing a bit the pull request #5 to only show the ': ' if there is …
Browse files Browse the repository at this point in the history
…a message and not in all the cases
IsmaelMartinez committed Oct 28, 2018

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 1540b77 commit 23837a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/index.js
Original file line number Diff line number Diff line change
@@ -64,7 +64,7 @@ app.on('ready', () => {

ipcMain.on('notifications', async (e, msg) => {
if (msg.count > 0) {
const body = "(" + msg.count + "): " + ((msg.text) ? "" + msg.text : "");
const body = "(" + msg.count + ")" + ((msg.text) ? ": " + msg.text : "");
const notification = new NativeNotification(
"Microsoft Teams",
{

0 comments on commit 23837a0

Please sign in to comment.