This commit is contained in:
zeng 2025-07-24 19:43:36 +08:00
parent 69f20b9cfb
commit bb9d3ca297
2 changed files with 0 additions and 21 deletions

View File

@ -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()

View File

@ -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)
// }
}
}