Commit 666c90d
committed
fix(swift-sdk): handle integer size values in size-changed notifications
JSON integers are decoded as Int, not Double, but the code was casting
to Double which failed silently. Use NSNumber to handle both Int and
Double values from the JSON decoder.1 parent 93bd3b7 commit 666c90d
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
111 | | - | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
| |||
0 commit comments