diff --git a/app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/replayer/ReplayerConfiguration.kt b/app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/replayer/ReplayerConfiguration.kt index 41a710ad..ddf3c27a 100644 --- a/app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/replayer/ReplayerConfiguration.kt +++ b/app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/replayer/ReplayerConfiguration.kt @@ -41,13 +41,19 @@ class ReplayerConfiguration(var handHistory: HandHistory) { get() { return when (val step = this.currentStep) { is ComputedAction -> FrameType.STATE - is Street -> { + Street.SUMMARY -> { when (this.currentFrame) { in (0 until framesForChipsAnimation) -> FrameType.GATHER_ANIMATION in (framesForChipsAnimation until 2 * framesForChipsAnimation) -> FrameType.DISTRIBUTION_ANIMATION else -> FrameType.STATE } } + is Street -> { + when (this.currentFrame) { + in (0 until framesForChipsAnimation) -> FrameType.GATHER_ANIMATION + else -> FrameType.STATE + } + } else -> throw PAIllegalStateException("unmanaged step: $step") } }