hit region issues were caused by dynamic type checks not working properly, so they have been removed

This commit is contained in:
Mauro Romito
2025-07-21 19:40:26 +02:00
committed by Mauro
parent 8a66cbad68
commit 97f517129f
6 changed files with 3 additions and 18 deletions
@@ -82,9 +82,6 @@ struct MediaUploadPreviewScreen: View {
context.isPresentingMediaCaptionWarning = true
} label: {
CompoundIcon(\.infoSolid, size: .xSmall, relativeTo: .compound.bodyLG)
// Increase hit area
.padding(.leading, 5)
.padding(.vertical, 2)
}
.tint(.compound.iconCriticalPrimary)
.popover(isPresented: $context.isPresentingMediaCaptionWarning, arrowEdge: .bottom) {