fix: 修复课表背景开关状态未即时更新 - #190
Merged
BenderBlog merged 2 commits intoSep 20, 2026
Merged
Conversation
BenderBlog
reviewed
Sep 19, 2026
BenderBlog
reviewed
Sep 19, 2026
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.
修复了课表背景图设置状态不同步的问题:)
修复前,选择背景图后开启开关没有即时反馈;关闭背景图后,设置页开关仍显示开启(反之亦然),返回课表后才发现实际已经关闭。现在会等待设置写入完成后刷新页面状态,并保留未选择背景图时无法开启的原有逻辑。
改动文件:
lib/page/setting/groups/classtable_section.dart修复前后的操作录屏:
修复前:
VID_20260919_194554.mp4
修复后:
VID_20260919_194426.mp4
(中间的突然跳转是剪辑掉了相册画面)