mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-19 03:59:19 +01:00
Fix being unable to restore backups if there's no categories
This commit is contained in:
parent
f430b6f853
commit
9a082d4df1
@ -215,7 +215,7 @@ class BackupRestoreService : Service() {
|
|||||||
errors.clear()
|
errors.clear()
|
||||||
|
|
||||||
// Restore categories
|
// Restore categories
|
||||||
restoreCategories(json.get(CATEGORIES))
|
json.get(CATEGORIES)?.let { restoreCategories(it) }
|
||||||
|
|
||||||
// Store source mapping for error messages
|
// Store source mapping for error messages
|
||||||
sourceMapping = BackupRestoreValidator.getSourceMapping(json)
|
sourceMapping = BackupRestoreValidator.getSourceMapping(json)
|
||||||
|
Loading…
Reference in New Issue
Block a user