Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ private extension StatsTopPost {
// but with keys just subtly different enough that we need a custom init here.
init?(topPostsJSONDictionary jsonDictionary: [String: AnyObject]) {
guard
let url = jsonDictionary["href"] as? String,
let postID = jsonDictionary["id"] as? Int,
let title = jsonDictionary["title"] as? String,
let viewsCount = jsonDictionary["views"] as? Int,
Expand All @@ -62,7 +61,7 @@ private extension StatsTopPost {
self.title = title
self.date = jsonDictionary["date"] as? String
self.postID = postID
self.postURL = URL(string: url)
self.postURL = (jsonDictionary["href"] as? String).flatMap(URL.init)
self.viewsCount = viewsCount
self.kind = type(of: self).kind(from: typeString)
}
Expand Down
1 change: 1 addition & 0 deletions RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
26.4
-----
* [*] Fix a few minor visual issues on iOS 26 [#24863], [#24863], [#24901], [#24865], [#24866], [#24867], [#24890]
* [*] Fix an issue with "Homepage" not shown in Top List in New Stats [#24902]
* [*] [Intelligence] Add support for generating excerpts for posts [#24852]
* [*] [Intelligence] Add auto-suggested tags for posts [#24886]
* [*] [Intelligence] Add "Summarize Post" features in Reader [#24892]
Expand Down