forked from zelo72/mastodon-ios
fix: rotate media preview raise layout issue
This commit is contained in:
parent
0d7d659e01
commit
95020e6446
|
@ -55,6 +55,7 @@ extension MediaPreviewViewController {
|
|||
overrideUserInterfaceStyle = .dark
|
||||
|
||||
visualEffectView.frame = view.bounds
|
||||
visualEffectView.autoresizingMask = [.flexibleWidth, .flexibleHeight]
|
||||
view.addSubview(visualEffectView)
|
||||
|
||||
pagingViewController.view.translatesAutoresizingMaskIntoConstraints = false
|
||||
|
|
Loading…
Reference in New Issue