Skip to content

Commit

Permalink
Animate Link inline signup visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
tillh-stripe committed Aug 22, 2023
1 parent 02ad444 commit a66f409
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ allprojects {
}

ext {
buildToolsVersion = "30.0.3"
buildToolsVersion = "34.0.0"
compileSdkVersion = 34

group_name = GROUP
Expand Down
3 changes: 1 addition & 2 deletions dependencies.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ext.versions = [
accompanist : '0.30.1',
alipay : '15.8.12',
androidGradlePlugin : '8.0.2',
androidGradlePlugin : '8.1.0',
androidTest : '1.5.0',
androidTestJunit : '1.1.5',
androidTestOrchestrator : '1.4.2',
Expand All @@ -25,7 +25,6 @@ ext.versions = [
androidxRecyclerview : '1.2.1',
androidxSecurity : '1.1.0-alpha05',
binaryCompatibilityValidator: '0.13.1',
buildTools : "30.0.3",
cameraX : '1.2.3',
dagger : '2.45',
detekt : "1.22.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.stripe.android.paymentsheet.ui

import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.ExperimentalAnimationApi
import androidx.compose.animation.animateContentSize
import androidx.compose.foundation.layout.Box
Expand Down Expand Up @@ -86,7 +87,7 @@ internal fun PaymentElement(
}
}

if (showLinkInlineSignup) {
AnimatedVisibility(visible = showLinkInlineSignup) {
LinkInlineSignup(
linkConfigurationCoordinator = linkConfigurationCoordinator,
enabled = enabled,
Expand Down

0 comments on commit a66f409

Please sign in to comment.