mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Fix spacing around date headers.
// FREEBIE
This commit is contained in:
parent
3a4167bd60
commit
c9e385920a
|
@ -823,7 +823,8 @@ NS_ASSUME_NONNULL_BEGIN
|
|||
- (CGFloat)dateHeaderHeight
|
||||
{
|
||||
if (self.viewItem.shouldShowDate) {
|
||||
return MAX(self.dateHeaderDateFont.lineHeight, self.dateHeaderTimeFont.lineHeight);
|
||||
// Add 5pt spacing above and below the date header.
|
||||
return MAX(self.dateHeaderDateFont.lineHeight, self.dateHeaderTimeFont.lineHeight) + 10.f;
|
||||
} else {
|
||||
return 0.f;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue