Othman El Jazouli
01/17/2024, 11:55 PMallowedPaymentMethods I know how to build it but not quite sure why it’s necessary, because the button shows even with an empty json array [ ] - any pointers please
PayButton(
modifier = Modifier
.fillMaxWidth()
.padding(AppTheme.dimensions.smallSpacing),
onClick = {},
allowedPaymentMethods = "[]", <---------
theme = if (isSystemInDarkTheme()) ButtonTheme.Dark else ButtonTheme.Light,
type = ButtonType.Buy,
)Patrick Cavanagh
01/19/2024, 9:40 AMOthman El Jazouli
01/19/2024, 11:21 AM