Address minor build warnings

This commit is contained in:
arkon
2023-05-31 22:47:31 -04:00
parent 8a5382042c
commit 431f8772f8
7 changed files with 20 additions and 18 deletions
@@ -125,9 +125,9 @@ class BackupRestorer(
} else {
// Manga in database
// Copy information from manga already in database
val manga = backupManager.restoreExistingManga(manga, dbManga)
val updatedManga = backupManager.restoreExistingManga(manga, dbManga)
// Fetch rest of manga information
restoreNewManga(manga, chapters, categories, history, tracks, backupCategories)
restoreNewManga(updatedManga, chapters, categories, history, tracks, backupCategories)
}
} catch (e: Exception) {
val sourceName = sourceMapping[manga.source] ?: manga.source.toString()