From 4c9c07d75f3ddba0e9d0baf1b43208c2e0ab2439 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Wed, 24 May 2023 17:39:34 -0500 Subject: [PATCH] fixed issues with using only mobile version Signed-off-by: Matt Bruce --- VDS/Components/Tooltip/TooltipAlertViewController.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/VDS/Components/Tooltip/TooltipAlertViewController.swift b/VDS/Components/Tooltip/TooltipAlertViewController.swift index b289c118..5de31cd0 100644 --- a/VDS/Components/Tooltip/TooltipAlertViewController.swift +++ b/VDS/Components/Tooltip/TooltipAlertViewController.swift @@ -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() }}