Merge branch 'design' into alpha
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
@ -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)
|
||||
// ],
|
||||
),
|
||||
),
|
||||
),
|
||||
|
Reference in New Issue
Block a user