Channel pages

This commit is contained in:
Arkadiusz Fal
2022-11-27 11:42:16 +01:00
parent 909f035399
commit 33abe4d487
13 changed files with 354 additions and 107 deletions

View File

@@ -207,7 +207,7 @@ struct OpenURLHandler {
private func resourceForChannelUrl(_ parser: URLParser) -> Resource? {
if let id = parser.channelID {
return accounts.api.channel(id)
return accounts.api.channel(id, contentType: .videos)
}
if let resource = resourceForUsernameUrl(parser) {