From ecba53e53ed61ba28583e1d0fc15f3ceb14f1520 Mon Sep 17 00:00:00 2001 From: Rudrank Date: Tue, 13 Aug 2019 19:29:07 +0530 Subject: [PATCH 1/2] Image trait = .image --- .../Views/Chat/New Chat/Cells/ImageMessageCell.swift | 1 + .../Views/Chat/New Chat/Cells/ImageMessageCell.xib | 11 +++++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Rocket.Chat/Views/Chat/New Chat/Cells/ImageMessageCell.swift b/Rocket.Chat/Views/Chat/New Chat/Cells/ImageMessageCell.swift index 24a9615c0a..24a1927fbe 100644 --- a/Rocket.Chat/Views/Chat/New Chat/Cells/ImageMessageCell.swift +++ b/Rocket.Chat/Views/Chat/New Chat/Cells/ImageMessageCell.swift @@ -39,6 +39,7 @@ class ImageMessageCell: BaseImageMessageCell, SizingCell { imageView.layer.cornerRadius = 4 imageView.layer.borderWidth = 1 imageView.clipsToBounds = true + imageView.accessibilityTraits = .image } } diff --git a/Rocket.Chat/Views/Chat/New Chat/Cells/ImageMessageCell.xib b/Rocket.Chat/Views/Chat/New Chat/Cells/ImageMessageCell.xib index 19a0086847..d0dd81419d 100644 --- a/Rocket.Chat/Views/Chat/New Chat/Cells/ImageMessageCell.xib +++ b/Rocket.Chat/Views/Chat/New Chat/Cells/ImageMessageCell.xib @@ -1,11 +1,11 @@ - + - + @@ -50,6 +50,9 @@ + + + @@ -83,6 +86,10 @@