fixed issues with using only mobile version

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2023-05-24 17:39:34 -05:00
parent 1205fc7fad
commit 4c9c07d75f

View File

@ -47,7 +47,8 @@ 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
label.textStyle = .boldTitleMedium
//use the same font/pointsize for both Title upsizes font in iPad
label.textStyle = UIDevice.isIPad ? .boldTitleSmall : .boldTitleMedium
}
open var contentText: String = "" { didSet { updateView() }}