https://kotlinlang.org logo
l

Law Gimenez

03/06/2021, 7:10 AM
I was going through the Jetpack Tutorial and it seems it wasn’t updated yet because I can’t seem to find
Modifier.preferredHeight(16.dp)
. So what is the fix for this?
j

Javier

03/06/2021, 7:23 AM
I think it is now just height
k

Konyaco

03/06/2021, 8:38 AM
It was removed recently. Just use height().
l

Law Gimenez

03/06/2021, 1:33 PM
Thanks guys!
r

Rick Regan

03/06/2021, 2:15 PM
I wrote this as an issue on the tutorial after beta came out but it hasn't been addressed yet: https://issuetracker.google.com/u/3/issues/181208492