add_invite_rooms_section

-> reduce the recent cell height
This commit is contained in:
yannick
2015-12-09 16:09:46 +01:00
parent 984e341e75
commit 2ff73cded1
6 changed files with 68 additions and 24 deletions
+7 -3
View File
@@ -20,6 +20,8 @@
#import "MXEvent.h"
#import "VectorDesignValues.h"
@implementation RecentTableViewCell
#pragma mark - Class methods
@@ -52,6 +54,8 @@
self.lastEventDescription.text = roomCellData.lastEventTextMessage;
}
self.lastEventDate.textColor = VECTOR_TEXT_GRAY_COLOR;
// Notify unreads and bing
self.bingIndicator.hidden = YES;
@@ -62,11 +66,11 @@
self.bingIndicator.hidden = NO;
self.bingIndicator.backgroundColor = roomCellData.recentsDataSource.eventFormatter.bingTextColor;
}
self.roomTitle.font = [UIFont boldSystemFontOfSize:19];
self.roomTitle.font = [UIFont boldSystemFontOfSize:17];
}
else
{
self.roomTitle.font = [UIFont systemFontOfSize:19];
self.roomTitle.font = [UIFont systemFontOfSize:17];
}
self.roomAvatar.backgroundColor = [UIColor clearColor];
@@ -118,7 +122,7 @@
+ (CGFloat)heightForCellData:(MXKCellData *)cellData withMaximumWidth:(CGFloat)maxWidth
{
// The height is fixed
return 74;
return 54;
}
@end