Drop profiles Section wrapper

This commit is contained in:
Davide De Rosa 2022-04-29 19:51:18 +02:00
parent 0047d095fb
commit 9af67e12ce
1 changed files with 2 additions and 6 deletions

View File

@ -88,12 +88,8 @@ extension OrganizerView {
private var mainView: some View { private var mainView: some View {
List { List {
Section( ForEach(sortedHeaders, content: profileRow(forHeader:))
header: Text(L10n.Global.Strings.profiles) .onDelete(perform: removeProfiles)
) {
ForEach(sortedHeaders, content: profileRow(forHeader:))
.onDelete(perform: removeProfiles)
}
}.themeAnimation(on: profileManager.headers) }.themeAnimation(on: profileManager.headers)
} }