Repository navigation
fix: 修复下载进度回退及失败提示丢失 - #280
Closed
Aschenbath wants to merge 1 commit into
Closed
Aschenbath wants to merge 1 commit into
Aschenbath wants to merge 1 commit into
Conversation
Owner
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
新增下载任务或更新奖励余额时,异步保存的旧快照会覆盖其他任务的最新进度,导致已下载字节数和速度回退。现在只应用本次新增、恢复的任务或调整的余额,保留并行下载的最新进度。
手动下载延后检查权限时,会把听时不足、登录失效、扣时待核对等原因变成笼统的“下载失败”。现在保留本地生成的具体提示,并补充原账号未登录、凭据缺失和账号切换中的恢复指引。只有本地生成的提示可以透传,未知服务端消息仍不会写入任务资料。
验证:
dart analyze lib通过。lib/services/download_service.dart。