2
2
mirror of https://github.com/mastodon/mastodon-ios synced 2025-04-11 22:58:02 +02:00

Merge pull request #835 from woxtu/feature-key

Replace deprecated properties
This commit is contained in:
Nathan Mattes 2022-12-28 17:43:29 +01:00 committed by GitHub
commit 646397f2cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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