From 0d7cee52f76be6166be1bc7c6a8fd1b08493bdd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joaquim=20St=C3=A4hli?= Date: Wed, 13 Sep 2023 14:45:24 +0200 Subject: [PATCH] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Samuel Défago --- .../src/main/java/ch/srgssr/pillarbox/ui/ProgressTracker.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pillarbox-ui/src/main/java/ch/srgssr/pillarbox/ui/ProgressTracker.kt b/pillarbox-ui/src/main/java/ch/srgssr/pillarbox/ui/ProgressTracker.kt index c102ab492..efcc279f5 100644 --- a/pillarbox-ui/src/main/java/ch/srgssr/pillarbox/ui/ProgressTracker.kt +++ b/pillarbox-ui/src/main/java/ch/srgssr/pillarbox/ui/ProgressTracker.kt @@ -24,9 +24,9 @@ import kotlinx.coroutines.flow.map /** * Progress tracker * - * Handle a progress position that is a mix of the player current position and the user seeked position. + * Handle a progress position that is a mix of the player current position and the user desired seek position. * - * @property player The player to track current position. + * @property player The player whose current position must be tracked. */ @Stable class ProgressTracker internal constructor(private val player: Player) { @@ -66,7 +66,7 @@ class ProgressTracker internal constructor(private val player: Player) { } /** - * User has finish seeking. + * User has finished seeking. */ fun userSeekFinish() { userSeekState.value.let {