forked from shadowfacts/Tusker
Tweak heuristic for showing profile fields in single column
This commit is contained in:
parent
e6a5b899be
commit
9da986e3b8
|
@ -18,7 +18,7 @@ class ProfileFieldsView: UIView {
|
|||
|
||||
private var isUsingSingleColumn: Bool = false
|
||||
private var needsSingleColumn: Bool {
|
||||
traitCollection.preferredContentSizeCategory > .large
|
||||
traitCollection.horizontalSizeClass == .compact && traitCollection.preferredContentSizeCategory > .extraLarge
|
||||
}
|
||||
|
||||
override init(frame: CGRect) {
|
||||
|
|
Loading…
Reference in New Issue