Skip to content

Commit

Permalink
refactor: native notification title (#1543)
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Setch <adam.setch@outlook.com>
  • Loading branch information
setchy committed Sep 19, 2024
1 parent 0e1363e commit c9c6e44
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/utils/notifications.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,7 @@ export const raiseNativeNotification = (notifications: Notification[]) => {

if (notifications.length === 1) {
const notification = notifications[0];
title = `${isWindows() ? '' : 'Gitify - '}${
notification.repository.full_name
}`;
title = isWindows() ? '' : notification.repository.full_name;
body = notification.subject.title;
} else {
title = 'Gitify';
Expand Down

0 comments on commit c9c6e44

Please sign in to comment.