IA Reader: fix potential issue with version update or language change #11390
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.
Fixes two issues found while working on another PR related to Reader.
Following
tabBelow steps to reproduce the issue and to test this PR.
Test Cases
Test case 1
Upgrade to 14.3 version from a previous installed one.
To Reproduce
Followed Sites
stream)Following
tab is wrongly selectedTo Test
Followed Sites
stream)Test case 2
Change language does not auto-update posts first time going to reader. (NB: since as a solution in the code we are resetting the Shared Prefs for selected reader when changing language, even if you selected another tab before to change language you will be brought always in Discover first time right after changing language)
To Reproduce
To Test
Test case 3 - Smoke test rules of thumbs
Smoke test the reader, if possible use both wp.com and self-hosted sites and here below some of the steps for smoke testing but feel free to add 😊 :
PR submission checklist:
RELEASE-NOTES.txt
if necessary.