From 9af67e12cede88e917ac5ec7abea08551aeb0c71 Mon Sep 17 00:00:00 2001 From: Davide De Rosa Date: Fri, 29 Apr 2022 19:51:18 +0200 Subject: [PATCH] Drop profiles Section wrapper --- Passepartout/App/Views/OrganizerView+Profiles.swift | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Passepartout/App/Views/OrganizerView+Profiles.swift b/Passepartout/App/Views/OrganizerView+Profiles.swift index fba7ba1b..0dde54f5 100644 --- a/Passepartout/App/Views/OrganizerView+Profiles.swift +++ b/Passepartout/App/Views/OrganizerView+Profiles.swift @@ -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) }