mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-24 11:06:51 +08:00
opt video card
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -168,7 +168,6 @@ class _HotPageState extends CommonPageState<HotPage, HotController>
|
||||
}
|
||||
return VideoCardH(
|
||||
videoItem: response[index],
|
||||
showPubdate: true,
|
||||
onRemove: () => controller.loadingState
|
||||
..value.data!.removeAt(index)
|
||||
..refresh(),
|
||||
|
||||
@@ -78,7 +78,6 @@ class _ZonePageState extends CommonPageState<ZonePage, ZoneController>
|
||||
if (item is HotVideoItemModel) {
|
||||
return VideoCardH(
|
||||
videoItem: item,
|
||||
showPubdate: true,
|
||||
onRemove: () => controller.loadingState
|
||||
..value.data!.removeAt(index)
|
||||
..refresh(),
|
||||
|
||||
@@ -55,7 +55,6 @@ class _SearchAllPanelState
|
||||
height: 120,
|
||||
child: VideoCardH(
|
||||
videoItem: item,
|
||||
showPubdate: true,
|
||||
),
|
||||
),
|
||||
List<SearchPgcItemModel>() => item.length == 1
|
||||
|
||||
@@ -112,7 +112,6 @@ class _SearchVideoPanelState extends CommonSearchPanelState<SearchVideoPanel,
|
||||
}
|
||||
return VideoCardH(
|
||||
videoItem: list[index],
|
||||
showPubdate: true,
|
||||
onRemove: () => controller.loadingState
|
||||
..value.data!.removeAt(index)
|
||||
..refresh(),
|
||||
|
||||
@@ -52,7 +52,6 @@ class _RelatedVideoPanelState extends State<RelatedVideoPanel>
|
||||
(context, index) {
|
||||
return VideoCardH(
|
||||
videoItem: response[index],
|
||||
showPubdate: true,
|
||||
onRemove: () => _relatedController.loadingState
|
||||
..value.data!.removeAt(index)
|
||||
..refresh(),
|
||||
|
||||
Reference in New Issue
Block a user