mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
increas hit area for the media preview upload warning, and hide accessibility for the avatar in the mention suggestions view
This commit is contained in:
@@ -82,6 +82,9 @@ 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) {
|
||||
|
||||
Reference in New Issue
Block a user