fix(home): 频道切换用封面过渡

This commit is contained in:
Zhou Weidong committed 2026-10-21 18:06:09 +08:00
1 parent 838ca2ce2a
commit c9adf8b399
5 files changed
+111 -19

No files matched your search

+2 -1
View File
@@ -378,6 +378,7 @@ class _PlayerPageState extends State<PlayerPage>
PlayerVideoSurface(
controller: videoPort?.controller,
videoUrl: videoPort?.controller.dataSource ?? episode.videoUrl,
posterUrl: drama.posterUrl,
theater: theater,
onTap: () =>
logic.session.setUserWantsPlay(!logic.session.userWantsPlay),
@@ -427,7 +428,7 @@ class _PlayerPageState extends State<PlayerPage>
),
),
),
if (selected && logic.session.loading)
if (selected && logic.session.loading && !widget.homeMode)
const Center(
child: CircularProgressIndicator(
key: Key('player-session-loading'),