Skip to content
This repository has been archived by the owner on Sep 25, 2021. It is now read-only.

Commit

Permalink
Fix mislabel
Browse files Browse the repository at this point in the history
  • Loading branch information
Dylan Ginsburg committed Dec 2, 2016
1 parent 87c6573 commit e236880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Turbolinks/VisitableView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit e236880

Please sign in to comment.