Fix channel view subscription icon

This commit is contained in:
Arkadiusz Fal 2022-08-23 17:10:14 +02:00
parent eedb3d0471
commit 7bee3b161f

View File

@ -173,7 +173,7 @@ struct ChannelVideosView: View {
subscriptionToggleButtonDisabled = false
}
} label: {
Label("Unsubscribe", systemImage: "circle")
Label("Unsubscribe", systemImage: "star.circle")
#if os(iOS)
.labelStyle(.automatic)
#else
@ -189,7 +189,7 @@ struct ChannelVideosView: View {
navigation.sidebarSectionChanged.toggle()
}
} label: {
Label("Subscribe", systemImage: "star.circle")
Label("Subscribe", systemImage: "circle")
#if os(iOS)
.labelStyle(.automatic)
#else
@ -211,3 +211,10 @@ struct ChannelVideosView: View {
presentedChannel?.name ?? store.item?.name ?? "No channel"
}
}
struct ChannelVideosView_Previews: PreviewProvider {
static var previews: some View {
ChannelVideosView(channel: Video.fixture.channel)
.injectFixtureEnvironmentObjects()
}
}