Skip to content

Commit

Permalink
Activity indicator whenever preferred live mode changes (#11913)
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkeye217 committed Jun 12, 2024
1 parent e3c8901 commit c75fc40
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions web/src/components/player/LivePlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ export default function LivePlayer({
windowVisible,
]);

useEffect(() => {
setLiveReady(false);
}, [preferredLiveMode]);

if (!cameraConfig) {
return <ActivityIndicator />;
}
Expand Down

0 comments on commit c75fc40

Please sign in to comment.