Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

同步进度功能补充 #4352

Merged
merged 23 commits into from
Nov 15, 2024
Merged

同步进度功能补充 #4352

merged 23 commits into from
Nov 15, 2024

Conversation

liaochuan
Copy link
Contributor

增加新的同步方式,通过设置中的开关进行开启,同步只会同步各设备间进度最新的记录,在每次的页面暂停时进行自动同步,同时当网络状态变更且变更状态为可用时也会进行同步操作,同时新增上传的点击区域设置以及右上角的覆盖云端进度选项
image
image
image
image

mozhu added 23 commits September 9, 2023 20:53
在初始阅读界面时拉取云端进度 --> 初始阅读界面保留原有拉取逻辑,除此之外的阅读界面处于已恢复状态时执行同步云端进度,若云端进度快于本地则弹窗提醒是否同步
无 --> 监听到网络切换到有网环境时执行同步云端进度,若云端进度快于本地则弹窗提醒是否同步
页面进入已暂停状态时上传阅读进度 --> 页面进入已暂停状态时执行同步云端进度

以上新增的同步云端进度逻辑为:如果本地进度快于服务器进度或者没有进度则进行上传,如果慢与服务器进度则返回云端进度按需执行
# Conflicts:
#	app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt
#	app/src/main/res/values-es-rES/strings.xml
#	app/src/main/res/values-ja-rJP/strings.xml
#	app/src/main/res/values-pt-rBR/strings.xml
#	app/src/main/res/values-vi/strings.xml
#	app/src/main/res/values-zh-rHK/strings.xml
#	app/src/main/res/values-zh-rTW/strings.xml
#	app/src/main/res/values-zh/strings.xml
# Conflicts:
#	app/src/main/res/values-es-rES/strings.xml
#	app/src/main/res/values-ja-rJP/strings.xml
#	app/src/main/res/values-pt-rBR/strings.xml
#	app/src/main/res/values-vi/strings.xml
#	app/src/main/res/values-zh-rHK/strings.xml
#	app/src/main/res/values-zh-rTW/strings.xml
#	app/src/main/res/values-zh/strings.xml
# Conflicts:
#	app/src/main/res/values-es-rES/strings.xml
#	app/src/main/res/values-ja-rJP/strings.xml
#	app/src/main/res/values-pt-rBR/strings.xml
#	app/src/main/res/values-vi/strings.xml
#	app/src/main/res/values-zh-rHK/strings.xml
#	app/src/main/res/values-zh-rTW/strings.xml
#	app/src/main/res/values-zh/strings.xml
# Conflicts:
#	app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt
# Conflicts:
#	app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt
# Conflicts:
#	app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt
# Conflicts:
#	app/src/main/java/io/legado/app/model/ReadBook.kt
#	app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt
# Conflicts:
#	app/build.gradle
#	app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt
# Conflicts:
#	app/src/main/java/io/legado/app/model/ReadBook.kt
#	app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt
This reverts commit d51d0f8.
@821938089 821938089 merged commit be862ab into gedoor:master Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants