From fb2c9b341cc8fdb2708d002898860851bf581afe Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Sun, 20 Nov 2022 14:12:00 -0500 Subject: [PATCH] Fix custom alert action icon getting squished when Dynamic Type is on Closes #254 --- Tusker/Screens/Utilities/CustomAlertController.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Tusker/Screens/Utilities/CustomAlertController.swift b/Tusker/Screens/Utilities/CustomAlertController.swift index b5cd14bd..d13288ff 100644 --- a/Tusker/Screens/Utilities/CustomAlertController.swift +++ b/Tusker/Screens/Utilities/CustomAlertController.swift @@ -357,6 +357,7 @@ class CustomAlertActionButton: UIControl { titleView = UIStackView() titleView.axis = .horizontal titleView.spacing = 4 + titleView.alignment = .center if let title = action.title { let label = UILabel()