Skip to content

Commit

Permalink
PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tonidero committed Oct 19, 2023
1 parent 2aa639d commit fc82f15
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ import com.revenuecat.purchases.ui.revenuecatui.data.PaywallState
import com.revenuecat.purchases.ui.revenuecatui.data.selectedLocalization
import com.revenuecat.purchases.ui.revenuecatui.extensions.introEligibility

/**
* This displays the offer details of the selected package. For templates that allow to select
* multiple packages, each package needs its own offer details so we won't use this composable.
*/
@Composable
internal fun OfferDetails(
state: PaywallState.Loaded,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ private fun AnimatedPackages(
Box(contentAlignment = packagesContentAlignment) {
AnimatedVisibility(
visible = !packageSelectionVisible,
enter = fadeIn(animationSpec = tween(delayMillis = 200)),
exit = fadeOut(animationSpec = tween(delayMillis = 200)),
enter = fadeIn(animationSpec = tween(delayMillis = UIConstant.defaultAnimationDurationMillis)),
exit = fadeOut(animationSpec = tween(delayMillis = UIConstant.defaultAnimationDurationMillis)),
label = "OfferDetailsVisibility",
) {
OfferDetails(state)
Expand Down

0 comments on commit fc82f15

Please sign in to comment.