Subscribe/unsubscribe channels

This commit is contained in:
Arkadiusz Fal
2021-08-26 00:12:59 +02:00
parent 151121aa31
commit 1196a2a5e2
14 changed files with 218 additions and 70 deletions

View File

@@ -101,7 +101,7 @@ struct VideoDetailsView: View {
}
var openChannelButton: some View {
let channel = Channel.from(video: store.item!)
let channel = video.channel
return Button("Open \(channel.name) channel") {
navigationState.openChannel(channel)