feat: up投稿播放全部

This commit is contained in:
guozhigq
2024-11-02 01:51:26 +08:00
parent 3209bde290
commit a69a27cdc4
6 changed files with 126 additions and 19 deletions

View File

@ -783,7 +783,8 @@ class _VideoDetailPageState extends State<VideoDetailPage>
Obx(
() => Visibility(
visible: vdCtr.sourceType.value == 'watchLater' ||
vdCtr.sourceType.value == 'fav',
vdCtr.sourceType.value == 'fav' ||
vdCtr.sourceType.value == 'up_archive',
child: AnimatedPositioned(
duration: const Duration(milliseconds: 400),
curve: Curves.easeInOut,
@ -815,17 +816,21 @@ class _VideoDetailPageState extends State<VideoDetailPage>
child: Row(children: [
const Icon(Icons.playlist_play, size: 24),
const SizedBox(width: 10),
Text(
vdCtr.watchLaterTitle.value,
style: TextStyle(
color: Theme.of(context)
.colorScheme
.onSecondaryContainer,
fontWeight: FontWeight.bold,
letterSpacing: 0.2,
Expanded(
child: Text(
vdCtr.watchLaterTitle.value,
maxLines: 1,
overflow: TextOverflow.ellipsis,
style: TextStyle(
color: Theme.of(context)
.colorScheme
.onSecondaryContainer,
fontWeight: FontWeight.bold,
letterSpacing: 0.2,
),
),
),
const Spacer(),
const SizedBox(width: 50),
const Icon(Icons.keyboard_arrow_up_rounded, size: 26),
]),
),