Explorar el Código

Merge pull request #1391 from deltachat/fix_autolayout

fix auto-layout of ImageTextCell
bjoern hace 3 años
padre
commit
3c9e66891e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      deltachat-ios/Chat/Views/Cells/ImageTextCell.swift

+ 1 - 1
deltachat-ios/Chat/Views/Cells/ImageTextCell.swift

@@ -22,7 +22,7 @@ class ImageTextCell: BaseMessageCell {
     open lazy var playButtonView: PlayButtonView = {
         let playButtonView = PlayButtonView()
         playButtonView.isHidden = true
-        translatesAutoresizingMaskIntoConstraints = false
+        playButtonView.translatesAutoresizingMaskIntoConstraints = false
         return playButtonView
     }()