mirror of
				https://github.com/yattee/yattee.git
				synced 2025-11-04 06:32:03 +00:00 
			
		
		
		
	Fix progress view on banner
This commit is contained in:
		@@ -22,7 +22,7 @@ struct VideoBanner: View {
 | 
			
		||||
 | 
			
		||||
    var body: some View {
 | 
			
		||||
        HStack(alignment: stackAlignment, spacing: 12) {
 | 
			
		||||
            ZStack(alignment: .bottom) {
 | 
			
		||||
            VStack(spacing: thumbnailStackSpacing) {
 | 
			
		||||
                smallThumbnail
 | 
			
		||||
 | 
			
		||||
                #if !os(tvOS)
 | 
			
		||||
@@ -114,6 +114,14 @@ struct VideoBanner: View {
 | 
			
		||||
        #endif
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private var thumbnailStackSpacing: Double {
 | 
			
		||||
        #if os(tvOS)
 | 
			
		||||
            8
 | 
			
		||||
        #else
 | 
			
		||||
            2
 | 
			
		||||
        #endif
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @ViewBuilder private var smallThumbnail: some View {
 | 
			
		||||
        ZStack {
 | 
			
		||||
            Color("PlaceholderColor")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user