Change so that we no longer default to best sort order and instead use subreddit default

This commit is contained in:
Maurice Parker 2020-05-09 16:55:22 -05:00
parent faab33ab2e
commit aa3b1771e7
1 changed files with 1 additions and 6 deletions

View File

@ -163,12 +163,7 @@ public final class RedditFeedProvider: FeedProvider {
return
}
let api: String
if urlComponents.path == "" || urlComponents.path == "/" {
api = "/best.json"
} else {
api = "\(urlComponents.path).json"
}
let api = "\(urlComponents.path).json"
let splitPath = urlComponents.path.split(separator: "/")
let identifySubreddit: Bool