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

@@ -435,7 +435,7 @@ class VideoIntroController extends GetxController {
Future actionShareVideo(context) async {
showDialog(
context: context,
builder: (context) {
builder: (_) {
String videoUrl = '${HttpString.baseUrl}/video/$bvid';
return AlertDialog(
clipBehavior: Clip.hardEdge,
@@ -510,6 +510,7 @@ class VideoIntroController extends GetxController {
Get.back();
try {
PageUtils.pmShare(
context,
content: {
"id": videoDetail.value.aid!.toString(),
"title": videoDetail.value.title!,