Commit aa7d633
committed
fix: ensure PausedInDebuggerOverlay has message set before presenting (#2594)
## Summary:
RCTUILabel doesn't like it if we set message to nil, which we
accidentally did by loading our viewController into a window (which
calls viewDidLoad, which creates our label and sets message) before we
have set our property. Simple fix to call code in the right order.
## Test Plan:
<img width="1392" height="860" alt="image"
src="https://github.com/user-attachments/assets/c6158b2c-4f8f-4348-9eb0-e863ec72a9e1"
/>1 parent 7d67b4f commit aa7d633
File tree
1 file changed
+2
-2
lines changed- packages/react-native/React/DevSupport
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
179 | 178 | | |
180 | 179 | | |
181 | | - | |
| 180 | + | |
| 181 | + | |
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| |||
0 commit comments