mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-07-27 14:00:12 +08:00
fix: resume history from the recording account progress (#2458)
This commit is contained in:
@@ -69,13 +69,17 @@ class HistoryItem extends StatelessWidget {
|
||||
SmartDialog.showToast('直播未开播');
|
||||
}
|
||||
} else if (business == 'pgc') {
|
||||
PageUtils.viewPgc(epId: item.history.epid);
|
||||
PageUtils.viewPgc(
|
||||
epId: item.history.epid,
|
||||
progress: item.playbackProgress,
|
||||
);
|
||||
} else if (business == 'cheese') {
|
||||
if (item.uri?.isNotEmpty == true) {
|
||||
PageUtils.viewPgcFromUri(
|
||||
item.uri!,
|
||||
isPgc: false,
|
||||
aid: item.history.oid,
|
||||
progress: item.playbackProgress,
|
||||
);
|
||||
}
|
||||
} else {
|
||||
@@ -101,6 +105,7 @@ class HistoryItem extends StatelessWidget {
|
||||
cover: item.cover,
|
||||
title: item.title,
|
||||
dimension: dimension,
|
||||
progress: item.playbackProgress,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user