appendIf

inline fun Modifier.appendIf(precondition: Boolean, action: Modifier.() -> Modifier): Modifier

Deprecated

Use thenIf instead

Replace with

thenIf(precondition, action)