mirror of
https://github.com/mastodon/mastodon-ios.git
synced 2025-01-23 14:10:26 +01:00
Replace deprecated properties
This commit is contained in:
parent
b65bf9155b
commit
d5d9080815
@ -22,9 +22,9 @@ extension UIFont {
|
||||
let fontDescription = UIFontDescriptor.preferredFontDescriptor(withTextStyle: textStyle).addingAttributes([
|
||||
UIFontDescriptor.AttributeName.featureSettings: [
|
||||
[
|
||||
UIFontDescriptor.FeatureKey.featureIdentifier:
|
||||
UIFontDescriptor.FeatureKey.type:
|
||||
kNumberSpacingType,
|
||||
UIFontDescriptor.FeatureKey.typeIdentifier:
|
||||
UIFontDescriptor.FeatureKey.selector:
|
||||
kMonospacedNumbersSelector
|
||||
]
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user