点击群组名可折叠群组

This commit is contained in:
Fin 2024-12-31 10:25:31 +08:00
parent ca6dcd2be3
commit 5766706e6d

View File

@ -53,10 +53,16 @@ class MessageGroupHeaderView: UIView {
make.right.equalToSuperview()
make.centerY.equalTo(groupNameLabel)
}
self.addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(tap)))
}
@available(*, unavailable)
required init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
@objc func tap() {
showLessAction?()
}
}