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)
|
||||
scrollView.indicatorStyle = surface == .light ? .black : .white
|
||||
|
||||
titleLabel.removeFromSuperview()
|
||||
contentLabel.removeFromSuperview()
|
||||
contentView?.removeFromSuperview()
|
||||
contentStackView.arrangedSubviews.forEach { $0.removeFromSuperview() }
|
||||
|
||||
titleLabel.surface = surface
|
||||
contentLabel.surface = surface
|
||||
|
||||
Loading…
Reference in New Issue
Block a user