From b2b6b11d5947ab43a2c682f0a0fc0f88795fd4dd Mon Sep 17 00:00:00 2001 From: Ryan Nystrom Date: Wed, 17 Jan 2018 21:22:50 -0500 Subject: [PATCH] Remove KVO and just ask the webview how tall it is (#1443) * Remove KVO and just ask the webview how tall it is * comment reuse --- .../Comments/Html/IssueCommentHtmlCell.swift | 27 +++++-------------- 1 file changed, 7 insertions(+), 20 deletions(-) diff --git a/Classes/Issues/Comments/Html/IssueCommentHtmlCell.swift b/Classes/Issues/Comments/Html/IssueCommentHtmlCell.swift index 658828fc..329a3915 100644 --- a/Classes/Issues/Comments/Html/IssueCommentHtmlCell.swift +++ b/Classes/Issues/Comments/Html/IssueCommentHtmlCell.swift @@ -31,8 +31,6 @@ private final class IssueCommentHtmlCellWebView: UIWebView { final class IssueCommentHtmlCell: IssueCommentBaseCell, ListBindable, UIWebViewDelegate { - private static let WebviewKeyPath = #keyPath(UIWebView.scrollView.contentSize) - private static let ImgScheme = "freetime-img" private static let htmlHead = """