Skip to content

Commit

Permalink
fix parity with BaseUseCase
Browse files Browse the repository at this point in the history
  • Loading branch information
aditya-bhawsar-mm committed May 12, 2023
1 parent fbbeabd commit cc1bbe0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import kotlin.coroutines.cancellation.CancellationException
class FetchRandomPhotoUseCase(private val photoFetchRepository: PhotoFetchRepository) :
BaseUseCase< StreamingFile,String> {

override fun performStreaming(input: String?): Flow<StreamingFile> {
override fun performStreaming(params: String?): Flow<StreamingFile> {
return callbackFlow {
val listener = photoFetchListener()
photoFetchRepository.setListener(listener)
Expand Down

0 comments on commit cc1bbe0

Please sign in to comment.