Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed: Opening SearchItem and FindInPage triggers again when switchin…
…g back to the reader fragment. * The issue occurred because when moving to another fragment, the `ReaderScreen` remained in the backstack and was not fully destroyed along with its data. Additionally, we were storing the `SearchItem` and `FIND_IN_PAGE` query in variables to perform these actions after restoring tabs. As a result, when reopening the `ReaderScreen`, the tabs were restored, and these variables retained their values, triggering the related actions again. * To fix this, we have cleared these variables when the fragment is destroyed, as keeping them is unnecessary when the user navigates away from the reader screen.
- Loading branch information