Skip to content

Commit 8fd8b14

Browse files
fix: revert ProgressReporter flow replay to 0 to fix unit tests
1 parent 64a6da0 commit 8fd8b14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/kotlin/dev/brewkits/native_workmanager/workers/utils/ProgressReporter.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ object ProgressReporter {
7474
}
7575

7676
private val _progressFlow = MutableSharedFlow<ProgressUpdate>(
77-
replay = 1,
77+
replay = 0,
7878
extraBufferCapacity = PROGRESS_BUFFER_CAPACITY,
7979
onBufferOverflow = kotlinx.coroutines.channels.BufferOverflow.DROP_OLDEST
8080
)

0 commit comments

Comments
 (0)