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

Fixed Text File Editor losing unsaved changes when rotating screen #111

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Burgerpower01
Copy link

What is it?

  • Bugfix
  • Feature
  • Codebase improvement

Description of the changes in your PR

  • Changes in ReadTextActivity:
    • Added onSaveInstanceState() to save edited text and restore it when Activity is reloaded
    • Added parameter savedInstanceState to checkIntent() to access the unsaved text

Before/After Screenshots/Screen Record

  • N/A

Fixes the following issue(s)

Acknowledgement

@Burgerpower01 Burgerpower01 changed the title Fixed Text File Editor loosing unsaved changes when rotating screen Fixed Text File Editor losing unsaved changes when rotating screen Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Text File Editor re-initialises/reloads View when rotating screen
1 participant