Added the unread count to the Account Section Header.

This commit is contained in:
Maurice Parker
2019-04-18 07:24:55 -05:00
parent aa9a8f77e2
commit b1a9a45f53
6 changed files with 155 additions and 3 deletions

View File

@@ -43,7 +43,10 @@ struct MasterTableViewCellLayout {
var rLabel = CGRect(x: 0.0, y: 0.0, width: labelSize.width, height: labelSize.height)
if shouldShowImage {
rLabel.origin.x = rFavicon.maxX + MasterTableViewCellLayout.imageMarginRight
} else {
rLabel.origin.x = indent ? 20 : 0
}
rLabel = MasterTableViewCellLayout.centerVertically(rLabel, bounds)
// Unread Count