diff --git a/Riot/Utils/EventFormatter.m b/Riot/Utils/EventFormatter.m index 5ea1d5f2d..278d902a5 100644 --- a/Riot/Utils/EventFormatter.m +++ b/Riot/Utils/EventFormatter.m @@ -103,7 +103,8 @@ static NSString *const kEventFormatterTimeFormat = @"HH:mm"; @"event_id": event.eventId ?: @"unknown" }); string = [[NSAttributedString alloc] initWithString:[VectorL10n noticeErrorUnformattableEvent] attributes:@{ - NSFontAttributeName: [self encryptedMessagesTextFont] + NSFontAttributeName: [self encryptedMessagesTextFont], + NSForegroundColorAttributeName: [self encryptingTextColor] }]; } } diff --git a/changelog.d/pr-7501.bugfix b/changelog.d/pr-7501.bugfix new file mode 100644 index 000000000..2d6150507 --- /dev/null +++ b/changelog.d/pr-7501.bugfix @@ -0,0 +1 @@ +Add a foreground color attribute for the unformattable event error message.