Skip to content

Commit

Permalink
another try
Browse files Browse the repository at this point in the history
  • Loading branch information
Remon committed Sep 14, 2023
1 parent ce8e18d commit 2f7c1f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class StripeSdkGooglePayButtonPlatformView(
googlePayButtonManager.type(payButton, creationParams["type"] as Int)
}
payButton.initialize()
payButton.isClickable=true
payButton.button?.isClickable=true
payButton.getChildAt(0).setOnClickListener {
channel.invokeMethod("onPressed", null)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import com.facebook.react.uimanager.ThemedReactContext
import com.flutter.stripe.R

class GooglePayButtonView(private val context: ThemedReactContext) : FrameLayout(context) {
private var button: View? = null
public var button: View? = null
private var type: Int? = null

fun initialize() {
Expand Down

0 comments on commit 2f7c1f6

Please sign in to comment.