I’m not sure if this is a bug or I’m missing somet...
# compose
r
I’m not sure if this is a bug or I’m missing something, just looking for validation. The following renders nothing in either preview or at application runtime:
Copy code
val someFun: (@Composable () -> Unit)? = null
someFun?.invoke() ?: BasicText(text = "Foo")
Edit: Found the issue in the bug tracker: https://issuetracker.google.com/issues/198511576. Unfortunately, it’s still not fixed.
t
Should be in the next release, looks like
🙏 1
r
Ah, that’s great news!