Fix build error.

This commit is contained in:
Brent Simmons 2024-05-07 19:57:51 -07:00
parent 69c908c891
commit 138177858c
1 changed files with 1 additions and 3 deletions

View File

@ -126,9 +126,7 @@ final class DetailWebViewController: NSViewController {
webView.navigationDelegate = self
webView.keyboardDelegate = keyboardDelegate
webView.translatesAutoresizingMaskIntoConstraints = false
if let userAgent = UserAgent.fromInfoPlist {
webView.customUserAgent = userAgent
}
webView.customUserAgent = UserAgent.fromInfoPlist
view = webView