mirror of
https://github.com/mihonapp/mihon.git
synced 2024-12-27 03:18:25 +01:00
Update UpdateManga.kt
This commit is contained in:
parent
b1820a0184
commit
c0b9183fe5
@ -36,7 +36,7 @@ class UpdateManga(
|
||||
manualFetch: Boolean,
|
||||
coverCache: CoverCache = Injekt.get(),
|
||||
libraryPreferences: LibraryPreferences = Injekt.get(),
|
||||
downloadManager: DownloadManager = Injekt.get()
|
||||
downloadManager: DownloadManager = Injekt.get(),
|
||||
): Boolean {
|
||||
val remoteTitle = try {
|
||||
remoteManga.title
|
||||
@ -87,7 +87,7 @@ class UpdateManga(
|
||||
if (success && title != null) {
|
||||
downloadManager.renameManga(source, localManga, title)
|
||||
}
|
||||
return success;
|
||||
return success
|
||||
}
|
||||
|
||||
suspend fun awaitUpdateFetchInterval(
|
||||
|
Loading…
Reference in New Issue
Block a user