Fix showing loading icon while continuing to scrub

This commit is contained in:
Nicolas Mowen 2024-05-17 06:52:43 -06:00
parent a8376922f9
commit 47601df645

View File

@ -222,7 +222,7 @@ export default function DynamicVideoPlayer({
setPreviewController(previewController);
}}
/>
{isLoading && !noRecording && (
{!isScrubbing && isLoading && !noRecording && (
<ActivityIndicator className="absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2" />
)}
{!isScrubbing && noRecording && (