Add podcasts and releases tabs for channels in Invidious

This commit is contained in:
Arkadiusz Fal
2023-09-25 21:37:30 +02:00
parent a1e8a50aaf
commit 9d49f3dd68
2 changed files with 7 additions and 1 deletions

View File

@@ -10,6 +10,8 @@ struct Channel: Identifiable, Hashable {
case livestreams
case shorts
case channels
case releases
case podcasts
static func from(_ name: String) -> Self? {
let rawValueMatch = allCases.first { $0.rawValue == name }
@@ -45,6 +47,10 @@ struct Channel: Identifiable, Hashable {
return "1.square"
case .channels:
return "person.3"
case .releases:
return "square.stack"
case .podcasts:
return "radio"
}
}