forked from shadowfacts/Tusker
Fix status action account list VC not resizing on rotation
This commit is contained in:
parent
474064669d
commit
509acbde19
|
@ -48,6 +48,7 @@ class StatusActionAccountListViewController: UIViewController {
|
||||||
indicator.centerYAnchor.constraint(equalTo: view.safeAreaLayoutGuide.centerYAnchor),
|
indicator.centerYAnchor.constraint(equalTo: view.safeAreaLayoutGuide.centerYAnchor),
|
||||||
])
|
])
|
||||||
case .displaying(let vc):
|
case .displaying(let vc):
|
||||||
|
vc.view.translatesAutoresizingMaskIntoConstraints = false
|
||||||
embedChild(vc)
|
embedChild(vc)
|
||||||
case .notFound:
|
case .notFound:
|
||||||
showStatusNotFound()
|
showStatusNotFound()
|
||||||
|
|
Loading…
Reference in New Issue