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,
|
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(
|
||||||
|
Loading…
Reference in New Issue
Block a user