Fix notification text on Windows

This commit is contained in:
Fedor Indutny 2021-06-02 16:46:16 -07:00 committed by GitHub
parent 9d81b7e1e9
commit c986a1c644
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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) {