Round corner when swipe in a List - SwiftUI

Viewed 371

Using Swift3 & iOS 15, I have the following:

enter image description here

Button(role: .destructive) {
    
} label: {
    Label("Delete", systemImage: "trash.fill")
}

How do I make that right side on swipe rounded? I tried placing under the label .cornerRadius(15) but it won't do the trick, and I don't want to round the whole list, just that right part when the user swipes.

0 Answers
Related