Skip to content

Conversation

@MohitMaliFtechiz
Copy link
Collaborator

Fixes #4402

  • Moved the file-scanning logic to the IO thread, allowing smooth directory scanning or ZIM file preparation from the asset directory while keeping the main thread free.
  • Refactored CustomFileValidatorTest to align with this change.

…Out.

* Moved the file-scanning logic to the IO thread, allowing smooth directory scanning or ZIM file preparation from the asset directory while keeping the main thread free.
* Refactored `CustomFileValidatorTest` to align with this change.
* Corrected the ZIM URL in `testZimFileRendering` test.
* Improved the `manageExternalLaunchAndRestoringViewState` for thread safety.
@codecov
Copy link

codecov bot commented Aug 29, 2025

Codecov Report

❌ Patch coverage is 71.42857% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 59.08%. Comparing base (b827cfe) to head (683c35d).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
...kiwixmobile/core/main/reader/CoreReaderFragment.kt 71.42% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #4403      +/-   ##
============================================
+ Coverage     59.03%   59.08%   +0.04%     
+ Complexity     1545     1543       -2     
============================================
  Files           329      329              
  Lines         16915    16916       +1     
  Branches       2066     2067       +1     
============================================
+ Hits           9986     9995       +9     
+ Misses         5584     5566      -18     
- Partials       1345     1355      +10     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

Wikimedar application crashes due to input dispatching timed out.

4 participants