| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 6f33419 commit 0dac24e
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -338,7 +338,7 @@ - (void)webViewDidStartLoad:(UIWebView *)webView{ | |||
| 338 | 338 | - (void)webViewDidFinishLoad:(UIWebView *)webView{ | |
| 339 | 339 | [self refreshwebContentView]; | |
| 340 | 340 | [_activityIndicator stopAnimating]; | |
| 341 | - CGFloat scrollHeight = webView.scrollView.contentSize.height; | ||
| 341 | + CGFloat scrollHeight = MAX(webView.scrollView.contentSize.height, _tweet.contentHeight); | ||
| 342 | 342 | if (ABS(scrollHeight - _tweet.contentHeight) > 5) { | |
| 343 | 343 | webView.scalesPageToFit = YES; | |
| 344 | 344 | _tweet.contentHeight = scrollHeight; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments