mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-25 19:10:49 +02:00
Room details: use italic font for state events
This commit is contained in:
@@ -935,7 +935,7 @@ NSString *const kCmdResetUserPowerLevel = @"/deop";
|
||||
}
|
||||
// Add unsent label for failed components
|
||||
for (RoomMessageComponent *component in message.components) {
|
||||
if (component.status == RoomMessageComponentStatusFailed) {
|
||||
if (component.style == RoomMessageComponentStyleFailed) {
|
||||
UILabel *unsentLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, yPosition, outgoingMsgCell.unsentLabelContainer.frame.size.width , 20)];
|
||||
unsentLabel.text = @"Unsent";
|
||||
unsentLabel.textAlignment = NSTextAlignmentCenter;
|
||||
|
||||
Reference in New Issue
Block a user