Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MaterialTimePicker] Fix AM/PM toggle
Before the CL we set AM/PM selection in the listeners no matter the target view (AM/PM) is being checked or being unchecked. So the order of calling listeners of AM and PM can "revert" the selection, if the callback for being unchecked is called later. This logic is apparently wrong - we should select AM/PM when they are being unchecked anyways. Resolves #2791 Resolves #2788 GIT_ORIGIN_REV_ID=018e053394f44d6334827fc3f95406c2937ae582 PiperOrigin-RevId: 458027987
- Loading branch information
1 parent
cd80b71
commit 1dc0e6b
Showing
2 changed files
with
20 additions
and
22 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