Fix custom alert action icon getting squished when Dynamic Type is on
Closes #254
This commit is contained in:
parent
810ae71832
commit
fb2c9b341c
|
@ -357,6 +357,7 @@ class CustomAlertActionButton: UIControl {
|
||||||
titleView = UIStackView()
|
titleView = UIStackView()
|
||||||
titleView.axis = .horizontal
|
titleView.axis = .horizontal
|
||||||
titleView.spacing = 4
|
titleView.spacing = 4
|
||||||
|
titleView.alignment = .center
|
||||||
|
|
||||||
if let title = action.title {
|
if let title = action.title {
|
||||||
let label = UILabel()
|
let label = UILabel()
|
||||||
|
|
Loading…
Reference in New Issue