Always use vertical layout for edit history (iOS-383)
Quick fix for layout of languages with lengthier strings.
This commit is contained in:
parent
28f1743ebf
commit
280df2ae39
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue