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

Show proper hierarchy when there is restored state #718

Merged

Conversation

mvasilak
Copy link
Contributor

@mvasilak mvasilak commented Jul 6, 2023

closes #703

Restores proper hierarchy for both iPhone & iPad.
Updates Defaults.shared.selectedLibrary & Defaults.shared.selectedCollectionId accordingly.

Tested cases, for both devices:

  • open pdf, close app, launch app with restored state, pdf is shown, and selected collection should be the same
  • open pdf, close app, share with extension to a different collection, launch app with restored state, pdf is shown, and selected collection should be the same

Easiest way to be certain that you get restoration of your previous state, is to close normally the app, restart simulator/device, launch the app again.

@mvasilak mvasilak force-pushed the fix-state-restoration-in-iPhone branch from 25e9d11 to 32026a7 Compare July 7, 2023 08:01
@michalrentka michalrentka merged commit c773c50 into zotero:master Jul 7, 2023
1 check passed
@mvasilak mvasilak deleted the fix-state-restoration-in-iPhone branch July 7, 2023 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

iPhone state restoration
2 participants