Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 17df31be authored by Jordan Demeulenaere's avatar Jordan Demeulenaere
Browse files

Remove @Composable from Modifier factories

This CL removes the @Composable annotation from Modifier factories and
replace them by Modifier.composed {} instead. As discussed in
http://shortn/_lBPKSM7VLn, making a Modifier factory @Composable can
have unexpected side effects where values are remember-ed longer than
they should or disposable not disposed when the associated element is
removed from composition.

In later CLs, we will migrate those APIs to the Node API instead.

Bug: 291566282
Test: atest PlatformComposeSceneTransitionLayoutTests
Change-Id: Ibb36ff90e8d438e1a18c3488109cfacf658d3d00
parent c737d35e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment