book-reader/app/src/main/java/com/aryan/reader/data
Aryan 0885b6949e
Refactored folder synchronization logic and improved migration handling (#21)
- Updated `MainViewModel` to skip synchronization until folder migration is completed and added metadata syncing when opening books.
- Modified folder migration to detach existing folder books (converting them to standard local files) before starting a fresh scan.
- Added `detachAllFolderBooks` to `RecentFileDao` and `RecentFilesRepository` to facilitate the migration process.
- Updated `MetadataExtractionWorker` to sync local metadata to the folder immediately after extraction.
- Simplified `FolderSyncWorker` by removing legacy migration lookups and streamlining the reconciliation of local and remote metadata.
- Updated `FolderMigrationDialog` UI text to reflect that books are now read directly from folders without duplication.
- Fixed various indentation and formatting issues across several files.
2026-03-02 03:03:36 +05:30
..
AppDatabase.kt Update readme (#3) 2026-02-25 21:30:28 +05:30
CustomFontDao.kt Update readme (#3) 2026-02-25 21:30:28 +05:30
CustomFontEntity.kt Update readme (#3) 2026-02-25 21:30:28 +05:30
FileTypeConverter.kt Update readme (#3) 2026-02-25 21:30:28 +05:30
FolderBookMetadata.kt Folder import\sync rework (#18) 2026-03-01 22:57:53 +05:30
FontsRepository.kt Update readme (#3) 2026-02-25 21:30:28 +05:30
LocalSyncUtils.kt Folder import\sync rework (#18) 2026-03-01 22:57:53 +05:30
PurchaseEntities.kt Update readme (#3) 2026-02-25 21:30:28 +05:30
RecentFileDao.kt Refactored folder synchronization logic and improved migration handling (#21) 2026-03-02 03:03:36 +05:30
RecentFileEntity.kt Update readme (#3) 2026-02-25 21:30:28 +05:30
RecentFileItem.kt Update readme (#3) 2026-02-25 21:30:28 +05:30
RecentFilesRepository.kt Refactored folder synchronization logic and improved migration handling (#21) 2026-03-02 03:03:36 +05:30