Skip to content

Commit 7c51403

Browse files
build(deps): Bump androidx.compose:compose-bom from 2025.11.01 to 2025.12.00 (#22392)
* build(deps): Bump androidx.compose:compose-bom Bumps androidx.compose:compose-bom from 2025.11.01 to 2025.12.00. --- updated-dependencies: - dependency-name: androidx.compose:compose-bom dependency-version: 2025.12.00 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Fixed lint errors --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nick Bradbury <[email protected]>
1 parent 17fab82 commit 7c51403

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

WordPress/src/main/java/org/wordpress/android/ui/compose/components/ProgressDialog.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ import androidx.compose.runtime.Composable
1818
import androidx.compose.runtime.collectAsState
1919
import androidx.compose.ui.Alignment
2020
import androidx.compose.ui.Modifier
21-
import androidx.compose.ui.platform.LocalContext
2221
import androidx.compose.ui.res.stringResource
2322
import androidx.compose.ui.tooling.preview.Preview
2423
import androidx.compose.ui.unit.dp
@@ -62,7 +61,7 @@ fun ProgressDialog(progressDialogState: ProgressDialogState) {
6261
}
6362
if (progressDialogState.message != null) {
6463
Text(
65-
text = LocalContext.current.getString(progressDialogState.message),
64+
text = stringResource(progressDialogState.message),
6665
Modifier.padding(16.dp, 0.dp, 16.dp, 16.dp),
6766
color = MaterialTheme.colorScheme.onSurface
6867
)

WordPress/src/main/java/org/wordpress/android/ui/domains/management/purchasedomain/composable/PurchaseDomainScreen.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,12 @@ fun PurchaseDomainScreen(
5050
modifier: Modifier = Modifier
5151
) {
5252
val contentScrollState = rememberScrollState()
53+
val isScrolled = contentScrollState.canScrollBackward
5354
Scaffold(
5455
modifier = modifier,
5556
topBar = {
5657
val elevation = animateDpAsState(
57-
targetValue = if (contentScrollState.value == 0) 0.dp else 4.dp,
58+
targetValue = if (isScrolled) 4.dp else 0.dp,
5859
label = "AppBarElevation"
5960
)
6061
MainTopAppBar(

WordPress/src/main/java/org/wordpress/android/ui/main/emailverificationbanner/EmailVerificationBanner.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import androidx.compose.runtime.State
2323
import androidx.compose.runtime.remember
2424
import androidx.compose.ui.Alignment
2525
import androidx.compose.ui.Modifier
26-
import androidx.compose.ui.platform.LocalContext
2726
import androidx.compose.ui.platform.LocalInspectionMode
2827
import androidx.compose.ui.platform.LocalView
2928
import androidx.compose.ui.res.colorResource
@@ -66,10 +65,10 @@ fun EmailVerificationBanner(
6665
}
6766

6867
announcementStringRes?.let { stringRes ->
69-
val context = LocalContext.current
68+
val announcementString = stringResource(stringRes)
7069
val view = LocalView.current
7170
LaunchedEffect(verificationState.value) {
72-
view.announceForAccessibility(context.getString(stringRes))
71+
view.announceForAccessibility(announcementString)
7372
}
7473
}
7574

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ androidx-arch-core = '2.2.0'
1212
androidx-browser = '1.8.0'
1313
androidx-camera = '1.5.1'
1414
androidx-cardview = '1.0.0'
15-
androidx-compose-bom = '2025.11.01'
15+
androidx-compose-bom = '2025.12.00'
1616
androidx-compose-material3 = '1.4.0'
1717
androidx-constraintlayout-compose = '1.1.1'
1818
androidx-constraintlayout-main = '2.2.1'

0 commit comments

Comments
 (0)