Explorar o código

Merge pull request #1391 from deltachat/fix_autolayout

fix auto-layout of ImageTextCell
bjoern %!s(int64=3) %!d(string=hai) anos
pai
achega
3c9e66891e
Modificáronse 1 ficheiros con 1 adicións e 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
     }()