1
0
mirror of https://github.com/mastodon/mastodon-ios.git synced 2025-02-02 18:36:44 +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([ let fontDescription = UIFontDescriptor.preferredFontDescriptor(withTextStyle: textStyle).addingAttributes([
UIFontDescriptor.AttributeName.featureSettings: [ UIFontDescriptor.AttributeName.featureSettings: [
[ [
UIFontDescriptor.FeatureKey.featureIdentifier: UIFontDescriptor.FeatureKey.type:
kNumberSpacingType, kNumberSpacingType,
UIFontDescriptor.FeatureKey.typeIdentifier: UIFontDescriptor.FeatureKey.selector:
kMonospacedNumbersSelector kMonospacedNumbersSelector
] ]
] ]