1
0
mirror of https://github.com/yattee/yattee.git synced 2024-12-14 06:10:32 +05:30

Fix channel view subscription icon

This commit is contained in:
Arkadiusz Fal 2022-08-23 17:10:14 +02:00
parent 3c41e1c759
commit d283dc3e6d

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()
}
}