Update UpdateManga.kt

This commit is contained in:
FlaminSarge 2024-11-24 02:20:07 -08:00 committed by FlaminSarge
parent b1820a0184
commit c0b9183fe5

View File

@ -36,7 +36,7 @@ class UpdateManga(
manualFetch: Boolean, manualFetch: Boolean,
coverCache: CoverCache = Injekt.get(), coverCache: CoverCache = Injekt.get(),
libraryPreferences: LibraryPreferences = Injekt.get(), libraryPreferences: LibraryPreferences = Injekt.get(),
downloadManager: DownloadManager = Injekt.get() downloadManager: DownloadManager = Injekt.get(),
): Boolean { ): Boolean {
val remoteTitle = try { val remoteTitle = try {
remoteManga.title remoteManga.title
@ -87,7 +87,7 @@ class UpdateManga(
if (success && title != null) { if (success && title != null) {
downloadManager.renameManga(source, localManga, title) downloadManager.renameManga(source, localManga, title)
} }
return success; return success
} }
suspend fun awaitUpdateFetchInterval( suspend fun awaitUpdateFetchInterval(