forked from shadowfacts/Tusker
Fix conversation main status being selectable
This commit is contained in:
parent
b0ebef2cfd
commit
e4ff632dcb
|
@ -87,6 +87,10 @@ class ConversationTableViewController: EnhancedTableViewController {
|
||||||
let identifier = id == self.mainStatusID ? "mainStatusCell" : "statusCell"
|
let identifier = id == self.mainStatusID ? "mainStatusCell" : "statusCell"
|
||||||
let cell = tableView.dequeueReusableCell(withIdentifier: identifier, for: indexPath) as! BaseStatusTableViewCell
|
let cell = tableView.dequeueReusableCell(withIdentifier: identifier, for: indexPath) as! BaseStatusTableViewCell
|
||||||
|
|
||||||
|
if id == self.mainStatusID {
|
||||||
|
cell.selectionStyle = .none
|
||||||
|
}
|
||||||
|
|
||||||
cell.delegate = self
|
cell.delegate = self
|
||||||
cell.showStatusAutomatically = self.showStatusesAutomatically
|
cell.showStatusAutomatically = self.showStatusesAutomatically
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue