Skip to content

Commit

Permalink
Fix dark mode issue
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisballinger committed Nov 3, 2019
1 parent 8de2fc9 commit f8a253d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ChatSecureCore/Classes/Views/Cells/OTRConversationCell.m
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,11 @@ - (void)setThread:(id <OTRThreadOwner>)thread
if (unreadMessages > 0) {
//unread message
self.nameLabel.font = [UIFont boldSystemFontOfSize:fontSize];
self.nameLabel.textColor = [UIColor blackColor];
if (@available(iOS 13.0, *)) {
self.nameLabel.textColor = UIColor.labelColor;
} else {
self.nameLabel.textColor = UIColor.blackColor;
}
} else {
self.nameLabel.font = [UIFont systemFontOfSize:fontSize];
self.nameLabel.textColor = [UIColor colorWithWhite:.45 alpha:1.0];
Expand Down

0 comments on commit f8a253d

Please sign in to comment.