fixed bug in tooltip contentView
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
3d52d210f3
commit
3a3790d302
@ -149,9 +149,7 @@ open class TooltipDialog: View, UIScrollViewDelegate {
|
|||||||
backgroundColor = backgroundColorConfiguration.getColor(self)
|
backgroundColor = backgroundColorConfiguration.getColor(self)
|
||||||
scrollView.indicatorStyle = surface == .light ? .black : .white
|
scrollView.indicatorStyle = surface == .light ? .black : .white
|
||||||
|
|
||||||
titleLabel.removeFromSuperview()
|
contentStackView.arrangedSubviews.forEach { $0.removeFromSuperview() }
|
||||||
contentLabel.removeFromSuperview()
|
|
||||||
contentView?.removeFromSuperview()
|
|
||||||
|
|
||||||
titleLabel.surface = surface
|
titleLabel.surface = surface
|
||||||
contentLabel.surface = surface
|
contentLabel.surface = surface
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user