Open
Conversation
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.
功能说明
新增「启用此设备特定设置」功能,使阅读器设置可以按设备保存,而不是跟随云端同步的全局设置。
使用场景
技术要点
deviceId(UUID)区分deviceId不参与同步,deviceSpecificSettings参与同步,多设备各自读取自身条目涉及文件
lib/foundation/appdata.dart- 设备特定设置存储与优先级逻辑lib/pages/settings/reader.dart- 设置开关与清除按钮 UIlib/pages/settings/setting_components.dart- 组件支持useDeviceSettingsassets/translation.json- zh_CN / zh_TW 文案截图