mirror of
https://github.com/mihonapp/mihon.git
synced 2025-06-26 11:07:51 +02:00
Fix being unable to restore backups if there's no categories
This commit is contained in:
@ -215,7 +215,7 @@ class BackupRestoreService : Service() {
|
||||
errors.clear()
|
||||
|
||||
// Restore categories
|
||||
restoreCategories(json.get(CATEGORIES))
|
||||
json.get(CATEGORIES)?.let { restoreCategories(it) }
|
||||
|
||||
// Store source mapping for error messages
|
||||
sourceMapping = BackupRestoreValidator.getSourceMapping(json)
|
||||
|
Reference in New Issue
Block a user