Merge branch 'design' into alpha

This commit is contained in:
guozhigq
2023-09-04 11:17:12 +08:00
2 changed files with 11 additions and 10 deletions

View File

@ -330,7 +330,8 @@ class VideoIntroController extends GetxController {
// 分享视频
Future actionShareVideo() async {
var result = await Share.share('${HttpString.baseUrl}/video/$bvid')
var result = await Share.share(
'${videoDetail.value.title} - ${HttpString.baseUrl}/video/$bvid')
.whenComplete(() {});
return result;
}

View File

@ -48,15 +48,15 @@ class ScrollAppBar extends StatelessWidget {
],
),
),
actions: [
IconButton(
onPressed: () {},
icon: const Icon(
Icons.share,
size: 20,
)),
const SizedBox(width: 12)
],
// actions: [
// IconButton(
// onPressed: () {},
// icon: const Icon(
// Icons.share,
// size: 20,
// )),
// const SizedBox(width: 12)
// ],
),
),
),