The nice thing about UI-as-code is that this is ju...
# compose
r
The nice thing about UI-as-code is that this is just an
if
statement:
Copy code
if (isLandscape) {
    ExtraLandscapeElement()
}
It also means that you can condition it on whatever you want - so if you also have a toggle, for instance, you could condition it on that, too, rather than being restricted to only conditioning on config qualifiers.
1
✔️ 1