diff --git a/Demo/src/main/java/com/paypal/android/ui/paypalbuttons/PayPalButtonsView.kt b/Demo/src/main/java/com/paypal/android/ui/paypalbuttons/PayPalButtonsView.kt index d84b7d262..bb5e6f454 100644 --- a/Demo/src/main/java/com/paypal/android/ui/paypalbuttons/PayPalButtonsView.kt +++ b/Demo/src/main/java/com/paypal/android/ui/paypalbuttons/PayPalButtonsView.kt @@ -29,6 +29,7 @@ import com.paypal.android.paymentbuttons.PayPalCreditButtonColor import com.paypal.android.paymentbuttons.PaymentButton import com.paypal.android.paymentbuttons.PaymentButtonColor +@Suppress("LongMethod") @ExperimentalMaterial3Api @Composable fun PayPalButtonsView(viewModel: PayPalButtonsViewModel = viewModel()) { @@ -69,9 +70,7 @@ fun PayPalButtonsView(viewModel: PayPalButtonsViewModel = viewModel()) { fundingType = uiState.fundingType, payPalButtonColor = uiState.payPalButtonColor, payPalCreditButtonColor = uiState.payPalCreditButtonColor, - onPayPalButtonColorChange = { value -> - viewModel.payPalButtonColor = value - }, + onPayPalButtonColorChange = { value -> viewModel.payPalButtonColor = value }, onPayPalCreditButtonColorChange = { value -> viewModel.payPalCreditButtonColor = value }