https://kotlinlang.org logo
#compose
Title
# compose
j

jaqxues

02/24/2021, 5:51 PM
has
Providers(LocalThing provides value) { ... }
been replaced with
CompositionLocalProvider(...) { ... }
at some point?
👌 5
l

Leland Richardson [G]

02/24/2021, 6:20 PM
yeah. sorry, we really tried to get this change in earlier so that there could be a deprecation cycle, but i missed the cut 😬
j

jaqxues

02/24/2021, 6:21 PM
No worries, found it by tracking down what the
ProvideTextStyle
function uses. Will that one be renamed too? Or is the name already long enough
l

Leland Richardson [G]

02/24/2021, 6:26 PM
as of now, nothing can be renamed 🙂 we are API stable, so no more migrations like this should be necessary. The main rename was of the term “Ambient” which we’ve not changed to “CompositionLocal”. So that function is fine
j

jaqxues

02/24/2021, 6:27 PM
Alright thanks!
2 Views