chore: Don't confuse the user with "Couldn't Split Downloaded image"

notification

Closes GH-41
This commit is contained in:
Ahmad Ansori Palembani 2024-05-29 19:09:19 +07:00
parent ee77e6463b
commit 7ddb15f312
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -444,6 +444,7 @@ class Downloader(
// When the page is ready, set page path, progress (just in case) and status
val success = splitTallImageIfNeeded(page, tmpDir)
/*
if (!success) {
notifier.onError(
context.getString(R.string.download_notifier_split_failed),
@ -451,6 +452,7 @@ class Downloader(
download.manga.title,
)
}
*/
page.uri = file.uri
page.progress = 100
page.status = Page.State.READY