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 { 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(() {}); .whenComplete(() {});
return result; return result;
} }

View File

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