mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-30 22:07:57 +01: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