From 7c78d914be86e57630185d913de00fab90743eff Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Mon, 13 May 2019 22:06:03 -0700 Subject: [PATCH] Speed up timeline scrolling by only going up to 150 characters with summary calculation. --- Shared/Timeline/TimelineStringFormatter.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shared/Timeline/TimelineStringFormatter.swift b/Shared/Timeline/TimelineStringFormatter.swift index 681379bf3..2f4503cfe 100644 --- a/Shared/Timeline/TimelineStringFormatter.swift +++ b/Shared/Timeline/TimelineStringFormatter.swift @@ -89,7 +89,7 @@ struct TimelineStringFormatter { return cachedBody } var s = body.rsparser_stringByDecodingHTMLEntities() - s = s.rs_string(byStrippingHTML: 300) + s = s.rs_string(byStrippingHTML: 150) s = s.rs_stringByTrimmingWhitespace() s = s.rs_stringWithCollapsedWhitespace() if s == "Comments" { // Hacker News.