Further changes made.

This commit is contained in:
Kevin G Christiano 2019-08-29 14:20:42 -04:00
parent 8e216f8b90
commit 2792808c9e

View File

@ -108,7 +108,7 @@ import UIKit
imageLoader.updateView(size)
leftContainer.updateView(size)
buttonTopConstraint?.constant = header.hasText() ? PaddingTwo : 0
buttonTopConstraint?.constant = header.hasText() ? buttonHeaderPadding : 0
}
public override static func estimatedHeight(forRow json: [AnyHashable: Any]?, delegateObject: MVMCoreUIDelegateObject?) -> CGFloat {
@ -137,7 +137,6 @@ import UIKit
button.reset()
imageLeadingConstraint?.constant = 16
imageLoader.reset()
setDefaultState()
}
@ -147,7 +146,6 @@ import UIKit
header.setAsMolecule()
button.setAsMolecule()
imageLoader.setAsMolecule()
setDefaultState()
}