Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Track the root cause of the composition looping
Thanks to @adamp for catching this. We were not remembering any LiveData transformations around insets, which meant that the stream was being created on every call. Fixed by remembering the transformed LiveData, and then observing that. Meaning we can go back to `ambientOf`.
- Loading branch information
1 parent
86ab0b2
commit 6548266
Showing
2 changed files
with
15 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters