Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Snackbar] Fix the issue that setting margins programmatically does n…
…ot work We always use the original margins saved when the snackbar is created to update snackbar's actual margins. Therefore the newly set margins will always be overridden. Fixes this by updating original margins when layout params are set. Resolves #1076 PiperOrigin-RevId: 427795853
- Loading branch information
1 parent
6c1bdd7
commit d5856fd
Showing
1 changed file
with
76 additions
and
92 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