Skip to content

Commit

Permalink
Merge branch 'master' into jamesmontemagno-patch-2
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmontemagno committed Oct 3, 2023
2 parents c7f44ca + b771d65 commit 1e1b8ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Plugin.InAppBilling/Converters.android.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ internal static InAppBillingProduct ToIAPProduct(this ProductDetails product)
}).ToList()
}).ToList();

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

return new InAppBillingProduct
{
Expand Down

0 comments on commit 1e1b8ea

Please sign in to comment.