@@ -13,6 +13,7 @@ import TinyConstraints
14class PostViewCell: UITableViewCell
14class PostViewCell: UITableViewCell
16 var onUserDisplay: ((Int)->())?
17 var onUserDisplay: ((Int)->())?
18 var onAnonymousChannelDisplay: ((String)->())?
19 var onAnonymousChannelDisplay: ((String)->())?
@@ -123,6 +124,7 @@ class PostViewCell: UITableViewCell
123 let button = UIButton()
124 let button = UIButton()
124 button.setTitle("#" + hash, for: .normal)
125 button.setTitle("#" + hash, for: .normal)
125 button.addTarget(self, action: #selector(setAnonymousChannel(on:)), for: .touchUpInside)
126 button.addTarget(self, action: #selector(setAnonymousChannel(on:)), for: .touchUpInside)
127+ // button.addGestureRecognizer(longPressRecognizer)
126 button.titleLabel?.font = UIFont.monospacedDigitSystemFont(ofSize: 15, weight: .semibold)
128 button.titleLabel?.font = UIFont.monospacedDigitSystemFont(ofSize: 15, weight: .semibold)
127 button.setTitleColor(#colorLiteral(red: 0, green: 0.4784313725, blue: 1, alpha: 1), for: .normal)
129 button.setTitleColor(#colorLiteral(red: 0, green: 0.4784313725, blue: 1, alpha: 1), for: .normal)
128 buttons.append(button)
130 buttons.append(button)