Slightly move the feeds icons into the disclosure gutter.

This commit is contained in:
Maurice Parker 2019-11-02 11:46:24 -05:00
parent 68cb9258c5
commit 721752a16b
1 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,7 @@ import RSCore
struct MasterFeedTableViewCellLayout {
private static let indentWidth = CGFloat(integerLiteral: 42)
private static let editingControlIndent = CGFloat(integerLiteral: 40)
private static let imageSize = CGSize(width: 24, height: 24)
private static let imageMarginRight = CGFloat(integerLiteral: 11)
@ -35,7 +36,7 @@ struct MasterFeedTableViewCellLayout {
var initialIndent = insets.left
if indent {
initialIndent += MasterFeedTableViewCellLayout.disclosureButtonSize.width
initialIndent += MasterFeedTableViewCellLayout.indentWidth
}
let bounds = CGRect(x: initialIndent, y: 0.0, width: floor(cellWidth - initialIndent - insets.right), height: 0.0)