Jelajahi Sumber

Merge pull request #1391 from deltachat/fix_autolayout

fix auto-layout of ImageTextCell
bjoern 3 tahun lalu
induk
melakukan
3c9e66891e
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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
     }()