mirror of
https://github.com/Finb/Bark.git
synced 2025-12-08 21:36:01 +00:00
点击群组名可折叠群组
This commit is contained in:
parent
ca6dcd2be3
commit
5766706e6d
@ -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?()
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user