Skip to content

Commit

Permalink
Fix notification text on Windows
Browse files Browse the repository at this point in the history
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
  • Loading branch information
automated-signal and indutny-signal committed Jun 3, 2021
1 parent c9a639e commit c4e41e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/notifications.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
({ notificationIconUrl } = this.notificationData);

const shouldHideExpiringMessageBody =
isExpiringMessage && Signal.OS.isMacOS();
isExpiringMessage && (Signal.OS.isMacOS() || Signal.OS.isWindows());
if (shouldHideExpiringMessageBody) {
notificationMessage = i18n('newMessage');
} else if (userSetting === SettingNames.NAME_ONLY) {
Expand Down

0 comments on commit c4e41e7

Please sign in to comment.