MohitMaliFtechiz 8be4029e0e Fixed: Search was not working when closing a tab and immediately opening the search screen.
* The issue occurred because, after closing a tab and quickly navigating to the search screen, the snackbar callback was still running in the background. When switching to the search screen, the WebView list was empty because we clear it when the fragment's view is destroyed. As a result, the book was closed, and the SearchScreen could not find the ZIM file for searching.
* To fix this, we now dismiss the snackbar callback when the fragment's view is destroyed.
2025-01-31 11:10:00 +01:00
..