From 7bee3b161fd3379a0c571b266df9d5b397a9dbb6 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Tue, 23 Aug 2022 17:10:14 +0200 Subject: [PATCH] Fix channel view subscription icon --- Shared/Views/ChannelVideosView.swift | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Shared/Views/ChannelVideosView.swift b/Shared/Views/ChannelVideosView.swift index 90392e21..eace2a57 100644 --- a/Shared/Views/ChannelVideosView.swift +++ b/Shared/Views/ChannelVideosView.swift @@ -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() + } +}