Fix status meta indicators overlapping thread links
This isn't great, but there's nowhere else for either to go and the difference between the large/default scales wasn't doing much before. Closes #449
This commit is contained in:
parent
90537f9d12
commit
60dadf599c
|
@ -70,8 +70,7 @@ class StatusMetaIndicatorsView: UIView {
|
||||||
|
|
||||||
private func configureImageView(_ imageView: UIImageView) {
|
private func configureImageView(_ imageView: UIImageView) {
|
||||||
let weight: UIImage.SymbolWeight = UIAccessibility.isBoldTextEnabled ? .regular : traitCollection.preferredContentSizeCategory > .large ? .light : .thin
|
let weight: UIImage.SymbolWeight = UIAccessibility.isBoldTextEnabled ? .regular : traitCollection.preferredContentSizeCategory > .large ? .light : .thin
|
||||||
let scale: UIImage.SymbolScale = traitCollection.preferredContentSizeCategory > .extraLarge ? .large : .default
|
imageView.preferredSymbolConfiguration = .init(pointSize: 0, weight: weight, scale: .default)
|
||||||
imageView.preferredSymbolConfiguration = .init(pointSize: 0, weight: weight, scale: scale)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func updateUI(status: StatusMO) {
|
func updateUI(status: StatusMO) {
|
||||||
|
|
Loading…
Reference in New Issue