diff --git a/VDS/Components/Tooltip/TooltipDialog.swift b/VDS/Components/Tooltip/TooltipDialog.swift index 5480c8c5..6985cfe9 100644 --- a/VDS/Components/Tooltip/TooltipDialog.swift +++ b/VDS/Components/Tooltip/TooltipDialog.swift @@ -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