diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index 7350887219dc..38ff3e322a2e 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -14,6 +14,7 @@ - [*] Bundles containing a subscription product can no longer be added to an order [https://github.com/woocommerce/woocommerce-android/pull/16381] - [*****] [Internal] Update Compose BOM from 2025.11.01 to 2026.06.01, which moves Compose from 1.9.5 to 1.11.4 [https://github.com/woocommerce/woocommerce-android/pull/16357] - [*] [Internal] Remove SiteModel#mXmlRpcUrl [https://github.com/woocommerce/woocommerce-android/pull/16301] +- [*] Fixed the JITM banner's button showing no padding around its pressed/highlighted state [https://github.com/woocommerce/woocommerce-android/pull/16407] 25.4 ----- diff --git a/WooCommerce/src/main/kotlin/com/woocommerce/android/ui/payments/banner/Banner.kt b/WooCommerce/src/main/kotlin/com/woocommerce/android/ui/payments/banner/Banner.kt index 238c5ae54410..a7eece00be13 100644 --- a/WooCommerce/src/main/kotlin/com/woocommerce/android/ui/payments/banner/Banner.kt +++ b/WooCommerce/src/main/kotlin/com/woocommerce/android/ui/payments/banner/Banner.kt @@ -3,11 +3,11 @@ package com.woocommerce.android.ui.payments.banner import android.content.res.Configuration import androidx.compose.foundation.Image import androidx.compose.foundation.isSystemInDarkTheme -import androidx.compose.foundation.layout.PaddingValues import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.height import androidx.compose.foundation.layout.padding import androidx.compose.foundation.layout.width +import androidx.compose.material3.ButtonDefaults import androidx.compose.material3.Card import androidx.compose.material3.MaterialTheme import androidx.compose.material3.Text @@ -108,7 +108,7 @@ fun Banner(bannerState: JitmState.Banner) { TextButton( onClick = bannerState.onPrimaryActionClicked, - contentPadding = PaddingValues(start = dimensionResource(id = R.dimen.minor_00)), + contentPadding = ButtonDefaults.TextButtonContentPadding, modifier = Modifier.constrainAs(ctaButton) { top.linkTo(description.bottom) start.linkTo(parent.start, margin = majorMargin)