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 {
List {
Section(
header: Text(L10n.Global.Strings.profiles)
) {
ForEach(sortedHeaders, content: profileRow(forHeader:))
.onDelete(perform: removeProfiles)
}
ForEach(sortedHeaders, content: profileRow(forHeader:))
.onDelete(perform: removeProfiles)
}.themeAnimation(on: profileManager.headers)
}