mirror of
				https://github.com/yattee/yattee.git
				synced 2025-11-04 06:32:03 +00:00 
			
		
		
		
	Hide channel name in channel view (fix #229)
This commit is contained in:
		@@ -160,7 +160,7 @@ struct VideoCell: View {
 | 
			
		||||
                    videoDetail(video.title, lineLimit: 5)
 | 
			
		||||
                        .frame(minWidth: 0, maxWidth: .infinity, alignment: .leading)
 | 
			
		||||
 | 
			
		||||
                    if !channelOnThumbnail {
 | 
			
		||||
                    if !channelOnThumbnail, !inChannelView {
 | 
			
		||||
                        channelButton(badge: false)
 | 
			
		||||
                    }
 | 
			
		||||
 | 
			
		||||
@@ -242,7 +242,7 @@ struct VideoCell: View {
 | 
			
		||||
                        #else
 | 
			
		||||
                            .frame(minHeight: 40, alignment: .top)
 | 
			
		||||
                        #endif
 | 
			
		||||
                        if !channelOnThumbnail {
 | 
			
		||||
                        if !channelOnThumbnail, !inChannelView {
 | 
			
		||||
                            channelButton(badge: false)
 | 
			
		||||
                                .padding(.top, 4)
 | 
			
		||||
                                .padding(.bottom, 6)
 | 
			
		||||
@@ -359,7 +359,7 @@ struct VideoCell: View {
 | 
			
		||||
 | 
			
		||||
                    Spacer()
 | 
			
		||||
 | 
			
		||||
                    if channelOnThumbnail {
 | 
			
		||||
                    if channelOnThumbnail, !inChannelView {
 | 
			
		||||
                        channelButton()
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user