mod: later: show progress

Closes #569

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-03-30 11:28:34 +08:00
parent 7aa0289c1f
commit 7399915357
4 changed files with 37 additions and 3 deletions

View File

@@ -18,6 +18,8 @@ class HotVideoItemModel extends BaseRecVideoItemModel {
bool? checked; // 手动设置的
num? progress;
HotVideoItemModel.fromJson(Map<String, dynamic> json) {
aid = json["aid"];
cid = json["cid"];
@@ -44,6 +46,7 @@ class HotVideoItemModel extends BaseRecVideoItemModel {
pgcLabel = json['pgc_label'];
redirectUrl = json['redirect_url'];
// uri = json['uri']; // 仅在稍后再看存在
progress = json['progress'];
}
// @override

View File

@@ -72,7 +72,7 @@ class HisListItem {
String? authorFace;
int? authorMid;
int? viewAt;
int progress = 0;
int? progress;
String? badge;
String? showTitle;
int? duration;