forked from shadowfacts/Tusker
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.axis = .horizontal
|
||||
titleView.spacing = 4
|
||||
titleView.alignment = .center
|
||||
|
||||
if let title = action.title {
|
||||
let label = UILabel()
|
||||
|
|
Loading…
Reference in New Issue