Compose Conditional Modifier Not Working Properly
I tried making an extension function on Modifier to apply changes to it only if a condition was true, since quite frequently I need to make small changes to a Modifier object in case certain things happen. But the code is not working as expected and I can’t seem to understand why.