@@ -132,8 +132,8 @@ extension ChatMediaCell: GestureHelper {
132132 guard let text = self ? . model. content. comment. string else { return }
133133 self ? . copyAction ? ( text) } ,
134134 onGestureBegan: { [ weak self] in
135- self ? . messageContainerView . animatePressDown ( ) } ,
136- onGestureEnded: { [ weak self] in self ? . messageContainerView . animatePressUp ( ) }
135+ self ? . cellContainerView . animatePressDown ( ) } ,
136+ onGestureEnded: { [ weak self] in self ? . cellContainerView . animatePressUp ( ) }
137137 )
138138 }
139139
@@ -144,8 +144,8 @@ extension ChatMediaCell: GestureHelper {
144144 guard let id = self ? . model. id else { return }
145145 self ? . actionHandler ( . showFailedMessageAlert( id: id) ) } ,
146146 onGestureBegan: { [ weak self] in
147- self ? . messageContainerView . animatePressDown ( ) } ,
148- onGestureEnded: { [ weak self] in self ? . messageContainerView . animatePressUp ( ) }
147+ self ? . cellContainerView . animatePressDown ( ) } ,
148+ onGestureEnded: { [ weak self] in self ? . cellContainerView . animatePressUp ( ) }
149149 )
150150 }
151151
@@ -158,7 +158,7 @@ extension ChatMediaCell: GestureHelper {
158158 self ? . containerMediaView. presentMenuProgrammatically ( for: view)
159159 } ,
160160 onGestureBegan: { [ weak self] in
161- self ? . messageContainerView . animatePressDown ( ) } ,
161+ self ? . cellContainerView . animatePressDown ( ) } ,
162162 onGestureEnded: { [ weak self] in self ? . messageContainerView. animatePressUp ( ) }
163163 )
164164 }
0 commit comments