diff --git a/modules/features/endofyear/src/main/java/au/com/shiftyjelly/pocketcasts/endofyear/StoriesViewModel.kt b/modules/features/endofyear/src/main/java/au/com/shiftyjelly/pocketcasts/endofyear/StoriesViewModel.kt index 11e0062bfbf..bebbba1cfb3 100644 --- a/modules/features/endofyear/src/main/java/au/com/shiftyjelly/pocketcasts/endofyear/StoriesViewModel.kt +++ b/modules/features/endofyear/src/main/java/au/com/shiftyjelly/pocketcasts/endofyear/StoriesViewModel.kt @@ -90,6 +90,8 @@ class StoriesViewModel @Inject constructor( } fun start() { + if (state.value !is State.Loaded) return + val currentState = state.value as State.Loaded val progressFraction = (PROGRESS_UPDATE_INTERVAL_MS / totalLengthInMs.toFloat())