79367940

Date: 2025-01-18 20:47:21
Score: 1
Natty:
Report link

You may try using computed ripple configuration:

val rippleConfiguration = LocalRippleConfiguration.current
val defaultRippleConfiguration = remember { rippleConfiguration }
CompositionLocalProvider(
    LocalRippleConfiguration providesComputed {
        if (rippleEnabled) defaultRippleConfiguration else null
    },
) { ... }

In my case it helped.

Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Lider