1
This commit is contained in:
parent
69f20b9cfb
commit
bb9d3ca297
@ -108,9 +108,6 @@ extension BRPlayHistorysViewController {
|
||||
if page == 1 {
|
||||
self.listArr.removeAll()
|
||||
}
|
||||
list.forEach {
|
||||
$0.is_collect = true
|
||||
}
|
||||
self.listArr += list
|
||||
self.page = page
|
||||
self.collectionView.reloadData()
|
||||
|
@ -169,24 +169,6 @@ extension BRVideoDetailViewController {
|
||||
self.reloadData { [weak self] in
|
||||
guard let self = self else { return }
|
||||
self.play()
|
||||
// if let indexPath = indexPath {
|
||||
// self.scrollToItem(indexPath: indexPath, animated: false)
|
||||
//
|
||||
// } else if let videoInfo = self.detailModel?.video_info {
|
||||
// var row: Int?
|
||||
// self.detailModel?.episodeList?.enumerated().forEach({
|
||||
// if $1.id == videoInfo.id {
|
||||
// row = $0
|
||||
// }
|
||||
// })
|
||||
// if let row = row {
|
||||
// self.scrollToItem(indexPath: .init(row: row, section: 0), animated: false)
|
||||
// } else {
|
||||
// self.scrollToItem(indexPath: .init(row: 0, section: 0), animated: false)
|
||||
// }
|
||||
// } else {
|
||||
// self.scrollToItem(indexPath: .init(row: 0, section: 0), animated: false)
|
||||
// }
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user