mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: media list
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -44,12 +44,13 @@ class _MediaListPanelState extends State<MediaListPanel> {
|
||||
void initState() {
|
||||
super.initState();
|
||||
mediaList.value = widget.mediaList;
|
||||
_isEnd = widget.hasMore.not;
|
||||
}
|
||||
|
||||
void loadMore() async {
|
||||
var res = await UserHttp.getMediaList(
|
||||
type: 3,
|
||||
bizId: widget.mediaId!,
|
||||
bizId: widget.mediaId ?? -1,
|
||||
ps: 20,
|
||||
oid: mediaList.last.id,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user