Miduo/301 stable cache#313
Open
Miduo666 wants to merge 5 commits into
Open
Conversation
…sibility-cache-race-condition
…sibility-cache-race-condition
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.
Pull Request Details
Description
Profile visibility (privacy) was persisted in SharedPreferences, causing stale values when the setting was changed on another device.
Replaced SharedPreferences-based privacy loading with a live ACL read from the POD. On every login (or browser refresh), all three profile fields — avatar, display name, and privacy — are now loaded fresh from the POD and cached in memory for the duration of the session.
Related Issues
#301
Type of Change
Checklist
make preporflutter analyze lib)dart testoutput or screenshot included in issue #Finalising