mirror of
https://github.com/yattee/yattee.git
synced 2024-12-23 05:53:41 +00:00
Fix channel view subscription icon
This commit is contained in:
parent
eedb3d0471
commit
7bee3b161f
@ -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()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user