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

Commit 936ea610 authored by omarmt's avatar omarmt
Browse files

Update transitionInterceptionThreshold whenever there is a new value

The demo application gave the option to modify the value, however, the
behavior remained unchanged. The reason for this was that the layout did
 not receive the updated value and hence could not reflect the changes.

Test: manual tested
Bug: 317063114
Flag: NA
Change-Id: I82cd1f2efb6fccb06dc5e7f86c950a3c2a9f88c2
parent 0f06ee2d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -504,6 +504,7 @@ internal fun SceneTransitionLayoutForTesting(

        layoutImpl.density = density
        layoutImpl.swipeSourceDetector = swipeSourceDetector
        layoutImpl.transitionInterceptionThreshold = transitionInterceptionThreshold
    }

    layoutImpl.Content(modifier)