addressing issue where cell resizes but accessory does not follow.

This commit is contained in:
Kevin G Christiano 2020-02-28 13:38:27 -05:00
parent cfd6cb1358
commit 2d84b89af9

View File

@ -96,8 +96,8 @@ import UIKit
super.layoutSubviews()
// Ensures accessory view aligns to the center y derived from the
if let center = heroAccessoryCenter {
accessoryView?.center.y = center.y
if let _ = heroAccessoryCenter {
alignAccessoryToHero()
}
}