Change syntax to overcome compiler issue

This commit is contained in:
Arkadiusz Fal
2023-02-28 22:13:39 +01:00
parent 5bac92fdbf
commit f7b35925b4
2 changed files with 9 additions and 1 deletions

View File

@@ -62,6 +62,10 @@ struct Channel: Identifiable, Hashable {
return "person.3"
}
}
var alwaysAvailable: Bool {
self == .videos || self == .playlists
}
}
struct Tab: Identifiable, Hashable {