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