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