The below code will print B
null?.let {
println("A")
} ?: println("B")
but the below code doesn't render B
null?.let {
Text(text = "A")
} ?: Text(text = "B")
Why?
The below code will print B
null?.let {
println("A")
} ?: println("B")
but the below code doesn't render B
null?.let {
Text(text = "A")
} ?: Text(text = "B")
Why?