Group row components and make icons bigger

Fixes #678
This commit is contained in:
Davide De Rosa 2024-10-04 02:50:05 +02:00
parent fe8fa93230
commit 7070661c3b
No known key found for this signature in database
GPG Key ID: A48836171C759F5E
1 changed files with 11 additions and 6 deletions

View File

@ -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)
}
}
}