Commit c4c587e
DevSupport - fix small bugs with Host change dialog (#54855)
Summary:
Pull Request resolved: #54855
I've noticed a couple of bugs with the bundle change dialog:
1. We should not show 2 host change buttons if they're pointing to the same host.
2. The dialog was for some reason writing on `settings.debugServerHost` twice. This has side effects, we should not do it.
Changelog:
[Android] [Fixed] - DevSupport - fix small bugs with Host change dialog
Reviewed By: fabriziocucci
Differential Revision: D88952963
fbshipit-source-id: 3fc6c5c342fff1eac663097e64ca1d44b5b7f5a31 parent 0fabe26 commit c4c587e
File tree
1 file changed
+11
-10
lines changed- packages/react-native/ReactAndroid/src/main/java/com/facebook/react/devsupport
1 file changed
+11
-10
lines changedLines changed: 11 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | 36 | | |
40 | 37 | | |
41 | 38 | | |
| |||
60 | 57 | | |
61 | 58 | | |
62 | 59 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
68 | 65 | | |
69 | 66 | | |
70 | 67 | | |
| |||
80 | 77 | | |
81 | 78 | | |
82 | 79 | | |
83 | | - | |
84 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
85 | 86 | | |
86 | 87 | | |
87 | 88 | | |
| |||
0 commit comments