diff --git a/Frameworks/Account/FeedProvider/Reddit/RedditLink.swift b/Frameworks/Account/FeedProvider/Reddit/RedditLink.swift index 3eb07f424..3b69f8020 100644 --- a/Frameworks/Account/FeedProvider/Reddit/RedditLink.swift +++ b/Frameworks/Account/FeedProvider/Reddit/RedditLink.swift @@ -122,7 +122,11 @@ struct RedditLinkData: Codable { guard !host.hasSuffix("reddit.com") && !host.hasSuffix("redd.it") else { return "" } - return "
\(url)
" + var displayURL = "\(urlComponents.host ?? "")\(urlComponents.path)" + if displayURL.count > 30 { + displayURL = "\(displayURL.prefix(30))..." + } + return "
\(displayURL)
" } }