From e23688078bc15b471b514fcb75b8755ba41b084b Mon Sep 17 00:00:00 2001 From: Dylan Ginsburg Date: Fri, 2 Dec 2016 07:10:42 -0500 Subject: [PATCH] Fix mislabel --- Turbolinks/VisitableView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Turbolinks/VisitableView.swift b/Turbolinks/VisitableView.swift index 3626a68..4b6ead5 100644 --- a/Turbolinks/VisitableView.swift +++ b/Turbolinks/VisitableView.swift @@ -188,7 +188,7 @@ open class VisitableView: UIView { private func needsUpdateForContentInsets(_ insets: UIEdgeInsets) -> Bool { guard let scrollView = webView?.scrollView else { return false } - return scrollView.contentInset.top != adjustedInsets.top || scrollView.contentInset.bottom != adjustedInsets.bottom + return scrollView.contentInset.top != insets.top || scrollView.contentInset.bottom != insets.bottom } private func updateWebViewScrollViewInsets(_ insets: UIEdgeInsets) {