Skip to content

Commit

Permalink
fix chat download progress
Browse files Browse the repository at this point in the history
  • Loading branch information
crackededed committed Jan 1, 2025
1 parent 8118c82 commit 899efeb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ android {
minSdk = 21
targetSdk = 35
versionCode = 121
versionName = "2.40.4"
versionName = "2.40.5"
}

buildTypes {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -896,6 +896,9 @@ class VideoDownloadWorker @AssistedInject constructor(
})
}
} while (lastOffsetSeconds?.let { it < endTimeSeconds } != false && !data.edges.lastOrNull()?.cursor.isNullOrBlank() && data.pageInfo?.hasNextPage != false)
offlineRepository.updateVideo(offlineVideo.apply {
chatProgress = offlineVideo.maxChatProgress
})
writer.endObject().also { position += 1 }
}
}
Expand Down

0 comments on commit 899efeb

Please # to comment.