Parcourir la source

Merge pull request #1391 from deltachat/fix_autolayout

fix auto-layout of ImageTextCell
bjoern il y a 3 ans
Parent
commit
3c9e66891e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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
     }()