Skip to content

Commit 1767818

Browse files
committed
Remove Json parameter that is not needed anymore
1 parent 18d506f commit 1767818

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

subscriptions/subscriptions-impl/src/main/java/com/duckduckgo/subscriptions/impl/ui/SubscriptionWebViewViewModel.kt

-2
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,6 @@ class SubscriptionWebViewViewModel @Inject constructor(
314314
OfferJson(
315315
type = offerType,
316316
id = it,
317-
displayPrice = offer.pricingPhases.first().formattedPrice,
318317
durationInDays = offer.pricingPhases.first().getBillingPeriodInDays(),
319318
isUserEligible = true, // TODO Noelia: Need to check if they already had a free trial before to return false
320319
)
@@ -361,7 +360,6 @@ class SubscriptionWebViewViewModel @Inject constructor(
361360
data class OfferJson(
362361
val type: OfferType,
363362
val id: String,
364-
val displayPrice: String,
365363
val durationInDays: Int?,
366364
val isUserEligible: Boolean,
367365
)

0 commit comments

Comments
 (0)