From 7070661c3babed22586c78b41dfa3df1dca79e8e Mon Sep 17 00:00:00 2001 From: Davide De Rosa Date: Fri, 4 Oct 2024 02:50:05 +0200 Subject: [PATCH] Group row components and make icons bigger Fixes #678 --- .../Sources/AppUI/Views/UI/ProfileRowView.swift | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/Passepartout/Library/Sources/AppUI/Views/UI/ProfileRowView.swift b/Passepartout/Library/Sources/AppUI/Views/UI/ProfileRowView.swift index e2214cac..804e9e71 100644 --- a/Passepartout/Library/Sources/AppUI/Views/UI/ProfileRowView.swift +++ b/Passepartout/Library/Sources/AppUI/Views/UI/ProfileRowView.swift @@ -59,15 +59,20 @@ struct ProfileRowView: View, TunnelContextProviding { var body: some View { HStack { - if withMarker { - markerView + Group { + if withMarker { + markerView + } + cardView } - cardView Spacer() - if isShared { - sharingView + HStack(spacing: 10.0) { + if isShared { + sharingView + } + ProfileInfoButton(header: header, onEdit: onEdit) } - ProfileInfoButton(header: header, onEdit: onEdit) + .imageScale(.large) } } }