Skip to content

Commit

Permalink
Fix: add missing foreground color attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
nimau committed Apr 14, 2023
1 parent c1a9f31 commit 853d89e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Riot/Utils/EventFormatter.m
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ - (NSAttributedString *)attributedStringFromEvent:(MXEvent *)event
@"event_id": event.eventId ?: @"unknown"
});
string = [[NSAttributedString alloc] initWithString:[VectorL10n noticeErrorUnformattableEvent] attributes:@{
NSFontAttributeName: [self encryptedMessagesTextFont]
NSFontAttributeName: [self encryptedMessagesTextFont],
NSForegroundColorAttributeName: [self encryptingTextColor]
}];
}
}
Expand Down

0 comments on commit 853d89e

Please sign in to comment.