File-Manager icon indicating copy to clipboard operation
File-Manager copied to clipboard

Fixed Text File Editor losing unsaved changes when rotating screen

Open Burgerpower01 opened this issue 1 year ago • 0 comments
trafficstars

What is it?

  • [X] 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)

  • Fixes #106

Acknowledgement

Burgerpower01 avatar Jul 12 '24 21:07 Burgerpower01