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:
parent
b65bf9155b
commit
d5d9080815
@ -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
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user