mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 11:08:03 +08:00
mod: later view forwarded video
Closes #729 Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -240,6 +240,17 @@ class AuthorPanel extends StatelessWidget {
|
||||
_ => null,
|
||||
};
|
||||
} catch (_) {}
|
||||
if (bvid == null && item.orig != null) {
|
||||
try {
|
||||
bvid = switch (item.orig.type) {
|
||||
'DYNAMIC_TYPE_AV' =>
|
||||
item.orig.modules.moduleDynamic.major.archive.bvid,
|
||||
'DYNAMIC_TYPE_UGC_SEASON' =>
|
||||
item.orig.modules.moduleDynamic.major.ugcSeason.bvid,
|
||||
_ => null,
|
||||
};
|
||||
} catch (_) {}
|
||||
}
|
||||
return Padding(
|
||||
padding: EdgeInsets.only(bottom: MediaQuery.of(context).padding.bottom),
|
||||
child: Column(
|
||||
|
||||
Reference in New Issue
Block a user