opt: pm share

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-28 12:11:20 +08:00
parent 7f93b42a1b
commit aed45b08ac
6 changed files with 36 additions and 27 deletions

View File

@@ -256,7 +256,7 @@ class BangumiIntroController
Future actionShareVideo(context) async {
showDialog(
context: context,
builder: (context) {
builder: (_) {
String videoUrl = '${HttpString.baseUrl}/video/$bvid';
return AlertDialog(
clipBehavior: Clip.hardEdge,
@@ -351,6 +351,7 @@ class BangumiIntroController
.firstWhere((item) => item.epId == epId);
final title = '${bangumiItem!.title!} ${item.showTitle}';
PageUtils.pmShare(
context,
content: {
"id": epId!.toString(),
"title": title,