We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 112b635 commit 16ac13aCopy full SHA for 16ac13a
1 file changed
app/src/main/java/zechs/zplex/ui/media/MediaViewModel.kt
@@ -145,7 +145,12 @@ class MediaViewModel @Inject constructor(
145
tmdbId: Int
146
) = withContext(Dispatchers.IO) {
147
offlineShowDao.getShowById(tmdbId)?.let { show ->
148
- handleTvResponse(Response.success(show.toTvResponse()), company = null)
+ val handleTvResponse = handleTvResponse(
149
+ Response.success(
150
+ show.toTvResponse()
151
+ ), company = null
152
+ )
153
+ _mediaResponse.postValue(handleTvResponse)
154
}
155
156
0 commit comments