CXTDT-427358 - Tooltip - Body Copy incorrect style

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2023-06-29 16:40:06 -05:00
parent 01299c86ef
commit a2c1228738

View File

@ -47,13 +47,12 @@ open class TooltipAlertViewController: UIViewController, Surfaceable {
open var surface: Surface = .light { didSet { updateView() }}
open var titleText: String = "" { didSet { updateView() }}
open var titleLabel = Label().with { label in
//use the same font/pointsize for both Title upsizes font in iPad
label.textStyle = UIDevice.isIPad ? .boldTitleSmall : .boldTitleMedium
label.textStyle = .boldTitleMedium
}
open var contentText: String = "" { didSet { updateView() }}
open var contentLabel = Label().with { label in
label.textStyle = .bodyMedium
label.textStyle = .bodyLarge
}
open var closeButtonText: String = "Close" { didSet { updateView() }}