Skip to content

Commit

Permalink
Video: Remove duplicate progress indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
HeroBrine1st committed Jan 21, 2024
1 parent f11cd75 commit 062bd5b
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ import androidx.compose.material.icons.automirrored.filled.VolumeUp
import androidx.compose.material.icons.filled.Pause
import androidx.compose.material.icons.filled.PlayArrow
import androidx.compose.material.ripple.rememberRipple
import androidx.compose.material3.CircularProgressIndicator
import androidx.compose.material3.Icon
import androidx.compose.material3.IconButton
import androidx.compose.material3.LinearProgressIndicator
Expand Down Expand Up @@ -88,16 +87,6 @@ fun VideoPlayerController(
Box(
modifier = modifier
) {
AnimatedVisibility(
visible = playbackState == Player.STATE_BUFFERING,
enter = fadeIn(),
exit = fadeOut(),
modifier = Modifier.align(
Alignment.Center
)
) {
CircularProgressIndicator(color = Color.White)
}
AnimatedVisibility(
visible = playbackState == Player.STATE_READY,
enter = fadeIn(),
Expand Down

0 comments on commit 062bd5b

Please sign in to comment.