Selaa lähdekoodia

improve file message accessibility

cyberta 4 vuotta sitten
vanhempi
commit
992ed849fc
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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)
     }