.listRowSeparator(.hidden) applies to a List's rows not the List itself.
Every row in the List you want to hide has to have .listRowSeparator(.hidden) on it. It's granular; it allows you to decide which rows do and do not have a separator on them.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: