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

theapache64

06/28/2022, 11:11 AM
Question: Custom Modifier What’s the difference between these two approaches?
this
vs
then(this)
🤔
j

Javier

06/28/2022, 11:21 AM
I think both are the same, the infix function just call
then
under the hood, but I can't check sources now
n

natario1

06/28/2022, 12:15 PM
then
is supposed to be used without
this
, so
then(Modifier.border…)
. “this then this” looks like an error.
☝🏽 1
☝🏾 1
👍 1
2 Views