diff --git a/lib/pages/liveRoom/view.dart b/lib/pages/liveRoom/view.dart index 8409d4a6..0c650126 100644 --- a/lib/pages/liveRoom/view.dart +++ b/lib/pages/liveRoom/view.dart @@ -74,13 +74,13 @@ class _LiveRoomPageState extends State { ), ], ), - actions: [ - SizedBox( - height: 34, - child: ElevatedButton(onPressed: () {}, child: const Text('关注')), - ), - const SizedBox(width: 12), - ], + // actions: [ + // SizedBox( + // height: 34, + // child: ElevatedButton(onPressed: () {}, child: const Text('关注')), + // ), + // const SizedBox(width: 12), + // ], ), body: Column( children: [ @@ -112,67 +112,67 @@ class _LiveRoomPageState extends State { ], ), ), - Container( - height: 45, - padding: const EdgeInsets.only(left: 12, right: 12), - decoration: BoxDecoration( - color: Theme.of(context).colorScheme.background, - border: Border( - bottom: BorderSide( - color: Theme.of(context).dividerColor.withOpacity(0.1)), - ), - ), - child: Row(children: [ - SizedBox( - width: 38, - height: 38, - child: IconButton( - onPressed: () {}, - icon: const Icon( - Icons.subtitles_outlined, - size: 21, - ), - ), - ), - const Spacer(), - SizedBox( - width: 38, - height: 38, - child: IconButton( - onPressed: () {}, - icon: const Icon( - Icons.hd_outlined, - size: 20, - ), - ), - ), - SizedBox( - width: 38, - height: 38, - child: IconButton( - onPressed: () => _liveRoomController - .setVolumn(plPlayerController!.volume.value), - icon: Obx(() => Icon( - _liveRoomController.volumeOff.value - ? Icons.volume_off_outlined - : Icons.volume_up_outlined, - size: 21, - )), - ), - ), - SizedBox( - width: 38, - height: 38, - child: IconButton( - onPressed: () => {}, - // plPlayerController!.goToFullscreen(context), - icon: const Icon( - Icons.fullscreen, - ), - ), - ), - ]), - ), + // Container( + // height: 45, + // padding: const EdgeInsets.only(left: 12, right: 12), + // decoration: BoxDecoration( + // color: Theme.of(context).colorScheme.background, + // border: Border( + // bottom: BorderSide( + // color: Theme.of(context).dividerColor.withOpacity(0.1)), + // ), + // ), + // child: Row(children: [ + // SizedBox( + // width: 38, + // height: 38, + // child: IconButton( + // onPressed: () {}, + // icon: const Icon( + // Icons.subtitles_outlined, + // size: 21, + // ), + // ), + // ), + // const Spacer(), + // SizedBox( + // width: 38, + // height: 38, + // child: IconButton( + // onPressed: () {}, + // icon: const Icon( + // Icons.hd_outlined, + // size: 20, + // ), + // ), + // ), + // SizedBox( + // width: 38, + // height: 38, + // child: IconButton( + // onPressed: () => _liveRoomController + // .setVolumn(plPlayerController!.volume.value), + // icon: Obx(() => Icon( + // _liveRoomController.volumeOff.value + // ? Icons.volume_off_outlined + // : Icons.volume_up_outlined, + // size: 21, + // )), + // ), + // ), + // SizedBox( + // width: 38, + // height: 38, + // child: IconButton( + // onPressed: () => {}, + // // plPlayerController!.goToFullscreen(context), + // icon: const Icon( + // Icons.fullscreen, + // ), + // ), + // ), + // ]), + // ), ], ), ); diff --git a/lib/pages/video/detail/view.dart b/lib/pages/video/detail/view.dart index e582e69d..873b99b4 100644 --- a/lib/pages/video/detail/view.dart +++ b/lib/pages/video/detail/view.dart @@ -324,18 +324,27 @@ class _VideoDetailPageState extends State SearchType.media_bangumi) ...[ const BangumiIntroPanel() ], - if (videoDetailController.videoType == - SearchType.video) ...[ - SliverPersistentHeader( - floating: true, - pinned: true, - delegate: SliverHeaderDelegate( - height: 50, - child: - const MenuRow(loadingStatus: false), - ), + // if (videoDetailController.videoType == + // SearchType.video) ...[ + // SliverPersistentHeader( + // floating: true, + // pinned: true, + // delegate: SliverHeaderDelegate( + // height: 50, + // child: + // const MenuRow(loadingStatus: false), + // ), + // ), + // ], + SliverToBoxAdapter( + child: Divider( + indent: 12, + endIndent: 12, + color: Theme.of(context) + .dividerColor + .withOpacity(0.06), ), - ], + ), const RelatedVideoPanel(), ], );