SwiftUI: Change List row Highlight colour when tapped

The default colour of a list row when tapped is grey. I try many solution on stackoverflow and apple form, I did not solve problem, any idea?

RecentRowView:

struct RecentRowView: View {  
   
  var body: some View {
      
    HStack(spacing: 15){

      List{
        NavigationLink(destination: SecondView()
                 
        ){
         
      VStack{
        HStack{

            VStack(alignment: .leading, spacing: 8, content: {
             
              Text(recent.name)
                .font(.custom("Helvetica Neue", size: 14))
                 
            })

          Spacer(minLength: 10)
          ZStack {
     
          }
          } 
        }
         }
        }  
      }
    }   
 }

Try using the .listRowBackground view modifier for changing the row background. You will also need to provide the animation for highlighting the row if the selection is not permanent.

SwiftUI: Change List row Highlight colour when tapped
 
 
Q