fix(reader): Save combined page does nothing

This commit is contained in:
Ahmad Ansori Palembani 2024-06-25 11:34:05 +07:00
parent 1a681b9a72
commit c993f00ed7
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
2 changed files with 2 additions and 39 deletions

View file

@ -7,42 +7,5 @@
## Other ?? Technical stuff, what happened behind the scene
-->
## Additions
- Added option to change long tap browse and recents nav behaviour
- Added browse long tap behaviour to open global search (AshbornXS)
- Added recents long tap behaviour to open last read chapter (AshbornXS)
- Added option to backup sensitive settings (such as tracker login tokens)
- Added beta version of "Data and storage" settings (can be accessed by long tapping "Data and storage")
## Changes
- Remove download location redirection from `Settings > Downloads`
- Moved cache related stuff from `Settings > Advanced` to `Settings > Data and storage`
- Improve webview (AshbornXS)
- Show url as subtitle
- Add option to clear cookies
- Allow zoom
- Handle urls on global search (AshbornXS)
- Improve download queue (AshbornXS)
- Download badge now show download queue count
- Add option to move series to bottom
- Only show "open repo url" button when repo url is not empty
## Fixes
- Fix potential crashes for some custom Android rom
- Allow MultipartBody.Builder for extensions
- Refresh extension repo now actually refresh extension(s) trust status
- Custom manga info now relink properly upon migration
- Fixed extension repo list did not update when a repo is added via deep link
- Fixed download unread trying to download filtered (by scanlator) chapters
- Fixed extensions not retaining their repo url
- Fixed more NullPointerException crashes
- Fixed split layout caused non-split images to not load
## Other
- Migrate some StorIO queries to SQLDelight, should improve stability
- Migrate from Timber to Kermit
- Update okhttp monorepo to v5.0.0-alpha.14
- Refactor backup code
- Migrate backup flags to not use bitwise
- Split it to several smaller classes
- Update androidx.compose.material3:material3 to v1.3.0-beta02
- Fixed saving combined pages not doing anything

View file

@ -794,7 +794,7 @@ class ReaderViewModel(
"${manga.title} - ${chapter.preferredChapterName(context, manga, preferences)}".take(225),
) + (if (downloadPreferences.downloadWithId().get()) " (${chapter.id})" else "") + " - ${page1.number}-${page2.number}.jpg"
val destFile = directory.findFile(filename)!!
val destFile = directory.createFile(filename)!!
stream.use { input ->
destFile.openOutputStream().use { output ->
input.copyTo(output)