https://kotlinlang.org logo
Title
k

Kirill Grouchnikov

02/05/2021, 3:02 PM
Build 149 (requires Kotlin 1.4.30) is out. Breaking change -
AppWindowAmbient
has been renamed to
LocalAppWindow
. Also API changes to query
PaddingValues
🎉 13
m

Michael Paus

02/05/2021, 4:22 PM
What happened to
ModalDrawerLayout
a

Ali Albaali

02/05/2021, 4:27 PM
Renamed to ModalDrawer
m

Michael Paus

02/05/2021, 4:33 PM
Thanks. And its
bodyContent
was renamed to just
content
, right? Are all these renamings documented somewhere?
a

Ali Albaali

02/05/2021, 4:38 PM
Yes it was renamed to
content
. There are no official release change log for Compose Desktop however you can see the latest commits for Compose on AOSP on or on Github
k

Kirill Grouchnikov

02/05/2021, 4:40 PM
It's still alpha, so you should expect renamings to be a part of it - without a full list being maintained.
m

Michael Paus

02/05/2021, 4:41 PM
No problem. It was just a question 😉
d

Dirk Hoffmann

02/05/2021, 6:16 PM
hmm, can't find any
DropdownMenu()
(tried hard to find it 🙂 )
k

Kirill Grouchnikov

02/05/2021, 6:22 PM
It's in the
androidx.compose.material
package
a

Ali Albaali

02/05/2021, 6:26 PM
They removed it in this release. Probably will be back in the next release or the one after it.
1
😮 1
g

gbaldeck

02/06/2021, 2:08 AM
Also, ambientOf was renamed to comopositionLocalOf. Are Ambients being renamed to CompositionLocals? If so I understand why, because what you are providing is local to composition it surrounds, but ambient was a better name in my opinion.
5