Skip to content

Commit

Permalink
refact: turn Animatable.initialAnimation into a constructor parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanbarrossilva committed Mar 21, 2024
1 parent 3e6934e commit e509b0b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import kotlinx.coroutines.flow.filter
*
* @param initialAnimation Stage that is considered to be the starting one of an animation.
*/
sealed class Animatable(private val initialAnimation: Animation) {
sealed class Animatable(initialAnimation: Animation) {
/** [MutableStateFlow] to which the current stage of the animation is emitted. */
internal val animationFlow = MutableStateFlow(initialAnimation)

Expand Down

0 comments on commit e509b0b

Please sign in to comment.