From 721752a16bb20f243e6818c95d3445ba27d5b5f8 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Sat, 2 Nov 2019 11:46:24 -0500 Subject: [PATCH] Slightly move the feeds icons into the disclosure gutter. --- iOS/MasterFeed/Cell/MasterFeedTableViewCellLayout.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/iOS/MasterFeed/Cell/MasterFeedTableViewCellLayout.swift b/iOS/MasterFeed/Cell/MasterFeedTableViewCellLayout.swift index 13cdc57c6..3ba4d5239 100644 --- a/iOS/MasterFeed/Cell/MasterFeedTableViewCellLayout.swift +++ b/iOS/MasterFeed/Cell/MasterFeedTableViewCellLayout.swift @@ -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)