Skip to content

Commit 8d76fb9

Browse files
guangyaoguangyao
authored andcommitted
删除重发消息提示
1 parent e3ddb40 commit 8d76fb9

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

ios/RCTAuroraIMUI/IMUIMessageCollectionView/Views/IMUIBaseMessageCell.swift

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -294,17 +294,19 @@ open class IMUIBaseMessageCell: UICollectionViewCell, IMUIMessageCellProtocal,Me
294294

295295

296296
func tapSatusView() {
297-
let alter = UIAlertView.init(title: "重发该消息?", message: "", delegate: self, cancelButtonTitle: "取消", otherButtonTitles: "确定")
298-
alter.show()
297+
self.delegate?.messageCollectionView?(didTapStatusViewInCell: self, model: self.message!)
298+
// let alter = UIAlertView.init(title: "重发该消息?", message: "", delegate: self, cancelButtonTitle: "取消", otherButtonTitles: "确定")
299+
// alter.show()
300+
299301
}
300302

301-
public func alertView(_ alertView:UIAlertView, clickedButtonAt buttonIndex: Int){
302-
if(buttonIndex==alertView.cancelButtonIndex){
303-
print("取消")
304-
}else{
305-
self.delegate?.messageCollectionView?(didTapStatusViewInCell: self, model: self.message!)
306-
}
307-
}
303+
// public func alertView(_ alertView:UIAlertView, clickedButtonAt buttonIndex: Int){
304+
// if(buttonIndex==alertView.cancelButtonIndex){
305+
// print("取消")
306+
// }else{
307+
// self.delegate?.messageCollectionView?(didTapStatusViewInCell: self, model: self.message!)
308+
// }
309+
// }
308310

309311
func didDisAppearCell() {
310312
}

0 commit comments

Comments
 (0)