Commit cc2a3b3
authored
chore: Change constexpr to obj-c NSNumber (#3646)
Fixes
#3549
## Description
This PR replaces constexpr declaration with equivalent NSNumber
declaration for default font sizes. We weren't able to reproduce the
compilation error, but the change doesn't have a negative impact.
## Changes
Replaced the default font size declarations.
## Test plan
Have a header (regular, large) with some non-default font family (this
triggers the font size check). Set a breakpoint in
`RNSScreenStackHeaderConfig.mm:491` and `:519` and verify the constants
are correct.
## Checklist
- [ ] Ensured that CI passes1 parent 0435e88 commit cc2a3b3
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
| 41 | + | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
0 commit comments