Commit 0e9d314
Close the Android dev menu when the menu key is pressed again (#58668)
Summary:
On Android, the menu key (`Cmd+M`) opens the dev menu, but a second press does not close it. On iOS, `Cmd+D` toggles the dev menu. This PR makes Android work the same way.
## Changelog:
[ANDROID] [FIXED] - Pressing the menu key while the dev menu is open now closes it
Pull Request resolved: #58668
Test Plan: RNTester on an emulator. Toggling works as expected
Reviewed By: andrewdacenko
Differential Revision: D121616477
Pulled By: shwanton
fbshipit-source-id: 9d16a3349c5f9ddff5c7e46d5a590b9dbd525d3b1 parent 585b28c commit 0e9d314
1 file changed
Lines changed: 10 additions & 0 deletions
File tree
- packages/react-native/ReactAndroid/src/main/java/com/facebook/react/devsupport
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
587 | 588 | | |
588 | 589 | | |
589 | 590 | | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
590 | 600 | | |
591 | 601 | | |
592 | 602 | | |
| |||
0 commit comments