Skip to content

Commit

Permalink
add ?
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmontemagno committed Oct 3, 2023
1 parent ee75a11 commit e00e4aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Plugin.InAppBilling/Converters.android.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ internal static InAppBillingProduct ToIAPProduct(this ProductDetails product)
PricingPhases = s?.PricingPhases?.PricingPhaseList?.Select(p =>
new PricingPhase
{
BillingCycleCount = p.BillingCycleCount,
BillingCycleCount = p.,
BillingPeriod = p.BillingPeriod,
FormattedPrice = p.FormattedPrice,
PriceAmountMicros = p.PriceAmountMicros,
Expand All @@ -75,7 +75,7 @@ internal static InAppBillingProduct ToIAPProduct(this ProductDetails product)
}).ToList()
}).ToList();

var firstSub = subs?.FirstOrDefault()?.PricingPhases.Where(p => p.PriceAmountMicros != 0)?.FirstOrDefault();
var firstSub = subs?.FirstOrDefault()?.PricingPhases?.Where(p => p.PriceAmountMicros != 0)?.FirstOrDefault();

return new InAppBillingProduct
{
Expand Down

0 comments on commit e00e4aa

Please sign in to comment.