padding change.

This commit is contained in:
Kevin G Christiano 2019-08-13 09:27:38 -04:00
parent 444fbc65f5
commit 324b132051

View File

@ -118,9 +118,9 @@ import UIKit
imageLoader.updateView(size)
leftContainer.updateView(size)
let topPadding = title.hasText ? bottomTitlePadding : 0
messageTopConstraint?.constant = topPadding
buttonTopConstraint?.constant = message.hasText ? PaddingTwo : topPadding
messageTopConstraint?.constant = title.hasText && message.hasText ? bottomTitlePadding : 0
buttonTopConstraint?.constant = message.hasText || title.hasText ? PaddingTwo : 0
}
public override static func estimatedHeight(forRow json: [AnyHashable: Any]?, delegateObject: MVMCoreUIDelegateObject?) -> CGFloat {