Suppress more tachiyomix-related deprecations (#3409)

This commit is contained in:
MajorTanya
2026-06-14 16:47:11 +02:00
committed by GitHub
parent 4c37f4c764
commit aa6742bf3e
2 changed files with 2 additions and 0 deletions
@@ -89,6 +89,7 @@ class SyncChaptersWithSource(
// Update metadata from source if necessary.
if (source is HttpSource) {
val sChapter = chapter.toSChapter()
@Suppress("DEPRECATION")
source.prepareNewChapter(sChapter, manga.toSManga())
chapter = chapter.copyFromSChapter(sChapter)
}
@@ -63,6 +63,7 @@ fun Call.asObservable(): Observable<Response> {
@Deprecated("Use suspend APIs instead")
fun Call.asObservableSuccess(): Observable<Response> {
@Suppress("DEPRECATION")
return asObservable().doOnNext { response ->
if (!response.isSuccessful) {
response.close()