mihon/app
Two-Ai fa61c8fe6f
Convert downloadChapter to suspend function (#9127)
1:1 translation from the RxJava implementation, should match the
previous behavior.

Dropped the return value from functions of the form
```
fun foo(t: T, ...): Observable<T>
```
where the Observable produced the original argument `t`.
The caller already has the result if necessary.

While this conversion is not flow-based overall, some sections use
flows to use the flatMapMerge and retryWhen operators.

Removed RetryWithDelay as it was only used here.

Inlined fetchAllImageUrlsFromPageList instead of converting it to a
suspending equivalent. fetchAllImageUrlsFromPageList is no longer
used in the app, but was not removed as it is part of source-api.
(However, it does not seem to be used exposed in extensions-lib or
used in tachiyomi-extensions.)

runBlocking is used as a temporary stop-gap.
2023-02-21 23:02:10 -05:00
..
src Convert downloadChapter to suspend function (#9127) 2023-02-21 23:02:10 -05:00
.gitignore
build.gradle.kts Use Compose Foundation's flow layout (#9123) 2023-02-21 12:04:11 -05:00
proguard-android-optimize.txt Adjust R8 optimization configs to fix extension issues 2022-05-26 19:41:43 -04:00
proguard-rules.pro Update Proguard rules to handle serializers in all modules 2022-10-01 10:47:45 -04:00
shortcuts.xml Remove more unused strings 2021-05-30 11:10:16 -04:00