Fixed restored but errored manga ending up in default category
This commit is contained in:
parent
5b5239c5eb
commit
541b026fa8
1 changed files with 3 additions and 2 deletions
|
@ -256,12 +256,13 @@ class BackupRestoreService : Service() {
|
|||
backupManager.restoreMangaFetch(source, manga)
|
||||
}
|
||||
|
||||
// Restore categories
|
||||
backupManager.restoreCategoriesForManga(manga, categories)
|
||||
|
||||
if (!dbMangaExists || !backupManager.restoreChaptersForManga(manga, chapters)) {
|
||||
// manga gets chapters added
|
||||
backupManager.restoreChapterFetch(source, manga, chapters)
|
||||
}
|
||||
// Restore categories
|
||||
backupManager.restoreCategoriesForManga(manga, categories)
|
||||
// Restore history
|
||||
backupManager.restoreHistoryForManga(history)
|
||||
// Restore tracking
|
||||
|
|
Reference in a new issue