mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-13 00:05:08 +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)
|
backupManager.restoreMangaFetch(source, manga)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Restore categories
|
||||||
|
backupManager.restoreCategoriesForManga(manga, categories)
|
||||||
|
|
||||||
if (!dbMangaExists || !backupManager.restoreChaptersForManga(manga, chapters)) {
|
if (!dbMangaExists || !backupManager.restoreChaptersForManga(manga, chapters)) {
|
||||||
// manga gets chapters added
|
// manga gets chapters added
|
||||||
backupManager.restoreChapterFetch(source, manga, chapters)
|
backupManager.restoreChapterFetch(source, manga, chapters)
|
||||||
}
|
}
|
||||||
// Restore categories
|
|
||||||
backupManager.restoreCategoriesForManga(manga, categories)
|
|
||||||
// Restore history
|
// Restore history
|
||||||
backupManager.restoreHistoryForManga(history)
|
backupManager.restoreHistoryForManga(history)
|
||||||
// Restore tracking
|
// Restore tracking
|
||||||
|
Loading…
Reference in New Issue
Block a user