Updated margins and sizing of unread indicator to match the mail app. Issue #690

This commit is contained in:
Phil Viso 2019-05-27 18:33:38 -05:00
parent 092b72d44c
commit 6168f01822
2 changed files with 4 additions and 4 deletions

View File

@ -28,7 +28,7 @@ extension MasterTimelineCellLayout {
var r = CGRect.zero
r.size = CGSize(width: MasterTimelineDefaultCellLayout.unreadCircleDimension, height: MasterTimelineDefaultCellLayout.unreadCircleDimension)
r.origin.x = point.x
r.origin.y = point.y + 9
r.origin.y = point.y + 8
return r
}

View File

@ -11,10 +11,10 @@ import RSCore
struct MasterTimelineDefaultCellLayout: MasterTimelineCellLayout {
static let cellPadding = UIEdgeInsets(top: 8, left: 16, bottom: 8, right: 16)
static let cellPadding = UIEdgeInsets(top: 8, left: 8, bottom: 8, right: 16)
static let unreadCircleMarginLeft = CGFloat(integerLiteral: 8)
static let unreadCircleDimension = CGFloat(integerLiteral: 8)
static let unreadCircleMarginLeft = CGFloat(integerLiteral: 0)
static let unreadCircleDimension = CGFloat(integerLiteral: 12)
static let unreadCircleMarginRight = CGFloat(integerLiteral: 8)
static let starDimension = CGFloat(integerLiteral: 13)