mirror of
https://github.com/yattee/yattee.git
synced 2025-01-06 21:07:12 +00:00
Fix build issue
This commit is contained in:
parent
3d45aa357e
commit
48d14c623c
@ -166,7 +166,6 @@ struct VideoCell: View {
|
|||||||
|
|
||||||
HStack(spacing: Constants.channelDetailsStackSpacing) {
|
HStack(spacing: Constants.channelDetailsStackSpacing) {
|
||||||
if !inChannelView,
|
if !inChannelView,
|
||||||
let video,
|
|
||||||
let url = video.channel.thumbnailURLOrCached,
|
let url = video.channel.thumbnailURLOrCached,
|
||||||
video != .fixture
|
video != .fixture
|
||||||
{
|
{
|
||||||
@ -297,7 +296,6 @@ struct VideoCell: View {
|
|||||||
HStack(spacing: 8) {
|
HStack(spacing: 8) {
|
||||||
if channelOnThumbnail,
|
if channelOnThumbnail,
|
||||||
!inChannelView,
|
!inChannelView,
|
||||||
let video,
|
|
||||||
let url = video.channel.thumbnailURLOrCached,
|
let url = video.channel.thumbnailURLOrCached,
|
||||||
video != .fixture
|
video != .fixture
|
||||||
{
|
{
|
||||||
@ -388,8 +386,7 @@ struct VideoCell: View {
|
|||||||
VStack {
|
VStack {
|
||||||
HStack(alignment: .top) {
|
HStack(alignment: .top) {
|
||||||
if saveHistory,
|
if saveHistory,
|
||||||
watchedVideoStyle.isShowingBadge,
|
watchedVideoStyle.isShowingBadge
|
||||||
let video
|
|
||||||
{
|
{
|
||||||
WatchView(watch: watch, videoID: video.videoID, duration: video.length)
|
WatchView(watch: watch, videoID: video.videoID, duration: video.length)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user