mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-30 03:20:37 +01:00
Speed up timeline scrolling by only going up to 150 characters with summary calculation.
This commit is contained in:
parent
5abe73331a
commit
7c78d914be
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user