Skip to content

Commit

Permalink
Fix ApplePayButton styling (#1231)
Browse files Browse the repository at this point in the history
Fix ApplePayButton passing an incorrect key for the styling option to the platform channel
  • Loading branch information
Kuodster authored May 23, 2023
1 parent d114816 commit 9251b05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/stripe/lib/src/widgets/apple_pay_button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ class _UiKitApplePayButtonState extends State<_UiKitApplePayButton> {
creationParamsCodec: const StandardMessageCodec(),
creationParams: {
'type': widget.type.id,
'style': widget.style.id,
'buttonStyle': widget.style.id,
'borderRadius': widget.cornerRadius
},
onPlatformViewCreated: (viewId) {
Expand Down

0 comments on commit 9251b05

Please sign in to comment.