leonard-palm / compose-state-events

A new way to implement One-Time-UI-Events (former SingleLiveEvent) in a Compose world.
Apache License 2.0
177 stars 13 forks source link

Convert StateEventWithContentConsumed to object #6

Closed octa-one closed 11 months ago

octa-one commented 11 months ago

Hello! It's a small improvement to avoid creating new instances of StateEventWithContentConsumed.

leonard-palm commented 11 months ago

@octa-one Great little improvement. Thank you for your work.