Merge branch 'ismail/5068_start_thread' into ismail/5096_thread_notifications

This commit is contained in:
ismailgulek
2021-12-16 14:46:43 +03:00
40 changed files with 932 additions and 162 deletions
@@ -1031,14 +1031,16 @@
roomDataSource = nil;
// Add reason label
_leftRoomReasonLabel = [[UILabel alloc] initWithFrame:CGRectMake(10, 5, self.view.frame.size.width - 20, 70)];
_leftRoomReasonLabel.numberOfLines = 0;
_leftRoomReasonLabel.text = reason;
_leftRoomReasonLabel.autoresizingMask = UIViewAutoresizingFlexibleWidth;
UILabel *leftRoomReasonLabel = [[UILabel alloc] initWithFrame:CGRectMake(10, 5, self.view.frame.size.width - 20, 70)];
leftRoomReasonLabel.numberOfLines = 0;
leftRoomReasonLabel.text = reason;
leftRoomReasonLabel.autoresizingMask = UIViewAutoresizingFlexibleWidth;
_bubblesTableView.tableHeaderView = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, 80)];
[_bubblesTableView.tableHeaderView addSubview:_leftRoomReasonLabel];
[_bubblesTableView.tableHeaderView addSubview:leftRoomReasonLabel];
[_bubblesTableView reloadData];
_leftRoomReasonLabel = leftRoomReasonLabel;
[self updateViewControllerAppearanceOnRoomDataSourceState];
}