mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 19:44:05 +00:00
hit region issues were caused by dynamic type checks not working properly, so they have been removed
This commit is contained in:
@@ -68,9 +68,6 @@ struct HomeScreenRecoveryKeyConfirmationBanner: View {
|
||||
Image(systemName: "xmark")
|
||||
.foregroundColor(.compound.iconSecondary)
|
||||
.frame(width: 12, height: 12)
|
||||
// Increase hit area
|
||||
.padding(.leading, 5)
|
||||
.padding(.bottom, 2)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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) {
|
||||
|
||||
-3
@@ -44,9 +44,6 @@ struct RoomChangeRolesScreenSelectedItem: View {
|
||||
.scaledFrame(size: 20)
|
||||
.symbolRenderingMode(.palette)
|
||||
.foregroundStyle(Color.compound.iconOnSolidPrimary, Color.compound.iconPrimary)
|
||||
// Increase hit area
|
||||
.padding(.leading, 5)
|
||||
.padding(.bottom, 5)
|
||||
}
|
||||
// We will use the accessibility action
|
||||
.accessibilityHidden(true)
|
||||
|
||||
@@ -128,7 +128,6 @@ struct PollView: View {
|
||||
.scaledPadding(.leading, showVotes ? 0 : 32)
|
||||
.foregroundColor(.compound.textSecondary)
|
||||
.frame(maxWidth: .infinity, alignment: showVotes ? .trailing : .leading)
|
||||
.accessibilityIdentifier(A11yIdentifiers.pollView.summary)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user