Always use vertical layout for edit history (iOS-383)

Quick fix for layout of languages with lengthier strings.
This commit is contained in:
shannon 2024-11-07 10:54:47 -05:00
parent 28f1743ebf
commit 280df2ae39
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ public final class StatusMetricRowView: UIButton {
public override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) { public override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
super.traitCollectionDidChange(previousTraitCollection) super.traitCollectionDidChange(previousTraitCollection)
let isVerticalAxis = traitCollection.preferredContentSizeCategory.isAccessibilityCategory let isVerticalAxis = true //traitCollection.preferredContentSizeCategory.isAccessibilityCategory
if isVerticalAxis { if isVerticalAxis {
detailLabel.textAlignment = .natural detailLabel.textAlignment = .natural