Added disclosure indicators.

This commit is contained in:
Maurice Parker
2019-04-17 10:15:44 -05:00
parent 50822700c0
commit bb20e4d2a2
10 changed files with 105 additions and 5 deletions

View File

@@ -107,6 +107,7 @@ private extension MasterTimelineTableViewCell {
func commonInit() {
addAccessoryView()
addSubviewAtInit(titleView, hidden: false)
addSubviewAtInit(summaryView, hidden: true)
addSubviewAtInit(textView, hidden: true)
@@ -117,7 +118,11 @@ private extension MasterTimelineTableViewCell {
addSubviewAtInit(starView, hidden: true)
}
func addAccessoryView() {
accessoryView = UIImageView(image: AppAssets.chevronRightImage)
}
func updatedLayoutRects() -> MasterTimelineCellLayout {
return MasterTimelineCellLayout(width: bounds.width, height: bounds.height, cellData: cellData, hasAvatar: avatarImageView.image != nil)