Merge pull request #7501 from vector-im/nimau/PSB-307-lasteventdescription-color

Fix: add missing foreground color attribute
This commit is contained in:
Nicolas Mauri
2023-04-18 11:12:43 +02:00
committed by GitHub
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -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]
}];
}
}
+1
View File
@@ -0,0 +1 @@
Add a foreground color attribute for the unformattable event error message.