Activity indicator whenever preferred live mode changes (#11913)

This commit is contained in:
Josh Hawkins 2024-06-12 12:36:11 -05:00 committed by GitHub
parent e3c8901549
commit c75fc40833
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -121,6 +121,10 @@ export default function LivePlayer({
windowVisible, windowVisible,
]); ]);
useEffect(() => {
setLiveReady(false);
}, [preferredLiveMode]);
if (!cameraConfig) { if (!cameraConfig) {
return <ActivityIndicator />; return <ActivityIndicator />;
} }