Change so that we no longer default to best sort order and instead use subreddit default
This commit is contained in:
parent
faab33ab2e
commit
aa3b1771e7
@ -163,12 +163,7 @@ public final class RedditFeedProvider: FeedProvider {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
let api: String
|
let api = "\(urlComponents.path).json"
|
||||||
if urlComponents.path == "" || urlComponents.path == "/" {
|
|
||||||
api = "/best.json"
|
|
||||||
} else {
|
|
||||||
api = "\(urlComponents.path).json"
|
|
||||||
}
|
|
||||||
|
|
||||||
let splitPath = urlComponents.path.split(separator: "/")
|
let splitPath = urlComponents.path.split(separator: "/")
|
||||||
let identifySubreddit: Bool
|
let identifySubreddit: Bool
|
||||||
|
Loading…
x
Reference in New Issue
Block a user