Ver Fonte

improve file message accessibility

cyberta há 4 anos atrás
pai
commit
992ed849fc
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      deltachat-ios/Chat/Views/Cells/FileTextCell.swift

+ 1 - 0
deltachat-ios/Chat/Views/Cells/FileTextCell.swift

@@ -38,6 +38,7 @@ class FileTextCell: BaseMessageCell {
         }
         
         fileView.configure(message: msg)
+        accessibilityLabel = "\(String.localized("document")), \(fileView.configureAccessibilityLabel())"
         super.update(msg: msg, messageStyle: messageStyle, isAvatarVisible: isAvatarVisible, isGroup: isGroup)
     }