Refactor views

This commit is contained in:
Arkadiusz Fal
2021-06-11 23:40:35 +02:00
parent 314c3b4968
commit 417ed0a8ee
8 changed files with 83 additions and 103 deletions

View File

@@ -5,7 +5,7 @@ class AppState: ObservableObject {
@Published var channelID: String?
@Published var channel: String?
func setChannel(from video: Video) {
func openChannel(from video: Video) {
channel = video.author
channelID = video.channelID
showingChannel = true