fix(home): 频道切换用封面过渡
This commit is contained in:
1 parent
838ca2ce2a
commit
c9adf8b399
5 files changed
+111
-19
No files matched your search
@@ -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'),
|
||||
|
||||
Reference in new issue
Block a user