Skip to content

Commit

Permalink
Merge pull request #49733 from HezekielT/fix-track-expense-video-load…
Browse files Browse the repository at this point in the history
…ing-indicator-issue

Fix track expense video loading indicator issue
  • Loading branch information
MarioExpensify authored Sep 26, 2024
2 parents ef65042 + 03f0e8b commit 965bcf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/VideoPlayer/BaseVideoPlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ function BaseVideoPlayer({
</View>
)}
</PressableWithoutFeedback>
{((isLoading && !isOffline) || isBuffering) && <FullScreenLoadingIndicator style={[styles.opacity1, styles.bgTransparent]} />}
{((isLoading && !isOffline) || (isBuffering && !isPlaying)) && <FullScreenLoadingIndicator style={[styles.opacity1, styles.bgTransparent]} />}
{isLoading && (isOffline || !isBuffering) && <AttachmentOfflineIndicator isPreview={isPreview} />}
{controlStatusState !== CONST.VIDEO_PLAYER.CONTROLS_STATUS.HIDE && !isLoading && (isPopoverVisible || isHovered || canUseTouchScreen) && (
<VideoPlayerControls
Expand Down

0 comments on commit 965bcf9

Please sign in to comment.