opt: share

This commit is contained in:
bggRGjQaUbCoE
2024-10-06 12:41:37 +08:00
parent 58ebce047d
commit 65fe9751ef
3 changed files with 12 additions and 6 deletions

View File

@@ -343,7 +343,7 @@ class BangumiIntroController extends CommonController {
),
onTap: () {
Get.back();
Share.share(videoUrl).whenComplete(() {});
Share.share(videoUrl);
},
),
],

View File

@@ -1576,10 +1576,11 @@ packages:
share_plus:
dependency: "direct main"
description:
name: share_plus
sha256: "468c43f285207c84bcabf5737f33b914ceb8eb38398b91e5e3ad1698d1b72a52"
url: "https://pub.dev"
source: hosted
path: "packages/share_plus/share_plus"
ref: main
resolved-ref: b798deabfb1e7133d11eee8ac82a71fe19b24211
url: "https://github.com/bggRGjQaUbCoE/plus_plugins.git"
source: git
version: "10.0.2"
share_plus_platform_interface:
dependency: transitive

View File

@@ -65,7 +65,12 @@ dependencies:
# 权限
permission_handler: ^11.0.1
# 分享
share_plus: ^10.0.2
# share_plus: ^10.0.2
share_plus:
git:
url: https://github.com/bggRGjQaUbCoE/plus_plugins.git
ref: main
path: packages/share_plus/share_plus
# cookie 管理
webview_cookie_manager: ^2.0.6
# 浏览器