Skip to content

Commit

Permalink
fix unread search results doesn't show the title in bold
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardoj committed Nov 13, 2024
1 parent 7256ad6 commit a8f8a2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/OptionsListUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2503,7 +2503,7 @@ function getEmptyOptions(): Options {
}

function shouldUseBoldText(report: ReportUtils.OptionData): boolean {
const notificationPreference = ReportUtils.getReportNotificationPreference(report);
const notificationPreference = report.notificationPreference ?? ReportUtils.getReportNotificationPreference(report);
return report.isUnread === true && notificationPreference !== CONST.REPORT.NOTIFICATION_PREFERENCE.MUTE && notificationPreference !== CONST.REPORT.NOTIFICATION_PREFERENCE.HIDDEN;
}

Expand Down

0 comments on commit a8f8a2e

Please sign in to comment.