Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class EmitAllViewModel(
emitAll(flowOf(emptyList()))
}.zip(apiHelper.getUsersWithError().catch {
emitAll(flowOf(emptyList()))
}) { usersFromApi, moreUsersFromApi ->
}) { usersFromApi, usersFromErrorApi ->
val allUsersFromApi = mutableListOf<ApiUser>()
allUsersFromApi.addAll(usersFromApi)
allUsersFromApi.addAll(moreUsersFromApi)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still using old variable name moreUsersFromApi in line 37:

allUsersFromApi.addAll(moreUsersFromApi)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated @mohityadav7

Expand All @@ -44,4 +44,4 @@ class EmitAllViewModel(
}
}

}
}