mirror of
				https://github.com/yattee/yattee.git
				synced 2025-11-04 06:32:03 +00:00 
			
		
		
		
	Change channel close button
This commit is contained in:
		@@ -81,12 +81,14 @@ struct ChannelVideosView: View {
 | 
			
		||||
 | 
			
		||||
        #if !os(tvOS)
 | 
			
		||||
        .toolbar {
 | 
			
		||||
            ToolbarItem(placement: .navigation) {
 | 
			
		||||
            ToolbarItem(placement: .cancellationAction) {
 | 
			
		||||
                if navigationStyle == .tab {
 | 
			
		||||
                    Button("Done") {
 | 
			
		||||
                    Button {
 | 
			
		||||
                        withAnimation(Constants.overlayAnimation) {
 | 
			
		||||
                            navigation.presentingChannel = false
 | 
			
		||||
                        }
 | 
			
		||||
                    } label: {
 | 
			
		||||
                        Label("Close", systemImage: "xmark")
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user