Commit 01f1706
committed
Align material3 with Compose Multiplatform 1.12.0
The bump to Compose Multiplatform 1.12.0 left material3 at 1.9.0. On
Android those two resolve to incompatible Jetpack artifacts:
org.jetbrains.compose.foundation:foundation:1.12.0
-> androidx.compose.foundation:foundation:1.12.0
org.jetbrains.compose.material3:material3:1.9.0
-> androidx.compose.material3:material3:1.4.0
Material3 1.4.0 was compiled against the older signature of
androidx.compose.foundation.style.CustomStyle.applyStyle, so composing
any OutlinedTextField now fails with
java.lang.AbstractMethodError: abstract method
"void androidx.compose.foundation.style.CustomStyle.applyStyle(
androidx.compose.foundation.style.CustomStyleScope)" on receiver
OutlinedTextFieldDefaults$$ExternalSyntheticLambda0
which crashes the app when the settings bottom sheet pages to the AI
provider or More tab. Under 1.11.1 this did not surface because
foundation resolved to androidx foundation 1.11.2.
The compatibility table for Compose Multiplatform 1.12.0 pairs it with
material3 1.12.0-alpha03 (Jetpack Material3 1.5.0-alpha22), which is the
first material3 built against foundation 1.12.x.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TUHLoZtpoBRJeebhbzz6fe1 parent a7f1774 commit 01f1706
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
0 commit comments