diff --git a/Mastodon/Scene/MediaPreview/AltTextViewController.swift b/Mastodon/Scene/MediaPreview/AltTextViewController.swift index cf8945499..15f79b805 100644 --- a/Mastodon/Scene/MediaPreview/AltTextViewController.swift +++ b/Mastodon/Scene/MediaPreview/AltTextViewController.swift @@ -47,15 +47,11 @@ class AltTextViewController: UIViewController { fatalError("init(coder:) has not been implemented") } - override func loadView() { - super.loadView() - view.translatesAutoresizingMaskIntoConstraints = false - } - override func viewDidLoad() { super.viewDidLoad() textView.translatesAutoresizingMaskIntoConstraints = false + view.translatesAutoresizingMaskIntoConstraints = false view.backgroundColor = .systemBackground view.addSubview(textView)