removed code
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
70d269d439
commit
32c02ad088
@ -101,8 +101,7 @@ open class Tilet: TileContainer {
|
|||||||
aspectRatio = .none
|
aspectRatio = .none
|
||||||
surface = .light
|
surface = .light
|
||||||
addContentView(titleLockup)
|
addContentView(titleLockup)
|
||||||
contentViewWithConstraint = titleLockup.widthAnchor.constraint(equalToConstant: width - (padding * 2))
|
titleLockup.pinToSuperView()
|
||||||
contentViewWithConstraint?.isActive = true
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public override func reset() {
|
public override func reset() {
|
||||||
@ -122,9 +121,7 @@ open class Tilet: TileContainer {
|
|||||||
|
|
||||||
open override func updateView() {
|
open override func updateView() {
|
||||||
super.updateView()
|
super.updateView()
|
||||||
|
|
||||||
contentViewWithConstraint?.constant = width - (padding * 2)
|
|
||||||
|
|
||||||
titleLockup.titleText = titleText
|
titleLockup.titleText = titleText
|
||||||
titleLockup.titleTypograpicalStyle = titleTypograpicalStyle.value
|
titleLockup.titleTypograpicalStyle = titleTypograpicalStyle.value
|
||||||
titleLockup.titleTextAttributes = titleTextAttributes
|
titleLockup.titleTextAttributes = titleTextAttributes
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user