There is currently no modifier to do this. SwiftUI doesn't have much in the way of customising list row accessories (I have previously filed feedback for this).
The easiest way to get around this would be to use a Button
instead and manually perform the navigation; the APIs in iOS 16 make this much easier.
For example:
@State private var path = NavigationPath()
NavigationStack(path: $path) {
List(newsList) { article in
Button {
path.append(article)
} label: {
NewsCell(news: article)
}
}
.navigationDestination(for: Article.self) { article in
NewsLetterView(news: article)
}
}
There are some other hacky workarounds that you can find doing an online search, so you can go with that as well until a new modifier is released (iOS 17?).