1
0
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:
woxtu 2022-12-29 00:47:53 +09:00
parent b65bf9155b
commit d5d9080815

View File

@ -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
]
]