Skip to content

Commit

Permalink
Merge pull request #561 from jamesmontemagno/gh559
Browse files Browse the repository at this point in the history
tighter control on default android sub
  • Loading branch information
jamesmontemagno committed Oct 3, 2023
2 parents f462de5 + b8d6608 commit b771d65
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 b771d65

Please sign in to comment.