可能修复点击推送进到消息列表闪退的问题

This commit is contained in:
Fin 2024-10-10 10:06:26 +08:00
parent 6596df6ebd
commit 0039b60883

View File

@ -50,7 +50,13 @@ class MessageListViewController: BaseViewController<MessageListViewModel> {
tableView.separatorStyle = .none
tableView.backgroundColor = BKColor.background.primary
tableView.register(MessageTableViewCell.self, forCellReuseIdentifier: "\(MessageTableViewCell.self)")
tableView.contentInset = UIEdgeInsets(top: 20, left: 0, bottom: 0, right: 0)
// LargeTitle LargeTitle
//
// tableView.contentInset = UIEdgeInsets(top: 20, left: 0, bottom: 0, right: 0)
// contentInset header
tableView.tableHeaderView = UIView(frame: CGRect(x: 0, y: 0, width: 0, height: 20))
return tableView
}()
@ -196,9 +202,6 @@ class MessageListViewController: BaseViewController<MessageListViewModel> {
//
output.title
.drive(self.navigationItem.rx.title).disposed(by: rx.disposeBag)
//
self.scrollToTop()
}
func alertMessage(message: String, indexPath: IndexPath) {