Add a to-do for a bad code

This commit is contained in:
ismailgulek
2021-11-11 15:25:21 +03:00
parent 33f92bca13
commit 9315302da7
@@ -92,6 +92,7 @@ class ThreadRoomTitleView: RoomTitleView {
override func didMoveToSuperview() {
super.didMoveToSuperview()
// TODO: Find a way to handle this properly
if let superview = superview?.superview {
NSLayoutConstraint.activate([
self.leadingAnchor.constraint(equalTo: superview.leadingAnchor),