[AltStoreCore] Fixes parsing Patreon responses containing tiers with null titles

This commit is contained in:
Riley Testut
2024-01-08 14:23:19 -06:00
committed by Magesh K
parent 90fbb28b54
commit becc626027
2 changed files with 3 additions and 3 deletions

View File

@@ -31,7 +31,7 @@ public class PledgeTier: NSManagedObject, Fetchable
{
super.init(entity: PledgeTier.entity(), insertInto: context)
self.name = tier.name
self.name = tier.name ?? ""
self.identifier = tier.identifier
self._amount = tier.amount as NSDecimalNumber
}