mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 12:21:51 +01:00
Fixed restored but errored manga ending up in default category
This commit is contained in:
parent
5b5239c5eb
commit
541b026fa8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user