https://kotlinlang.org logo
#squarelibraries
Title
# squarelibraries
h

hfhbd

01/16/2023, 5:31 PM
This is expected.
add
does not add new lines,
addStatement
does.
l

Lamberto Basti

01/16/2023, 5:32 PM
Oh damn... i feel very dumb, thank you fro the hint
h

hfhbd

01/16/2023, 5:33 PM
Alternativ, just use
add("code \n")
I often have some problems with nested codeblocks using
addStatement
inside another
addStatement
🤷‍♂️
3 Views