Commit eb76a3b
fix bug in case statement, allow jpg and jpeg (NativeScript#5473)
the current implementation does not work if one specifies "jpg", it works only with "jpeg" due to the || syntax used.
This is a proposal to fix it.1 parent b878143 commit eb76a3b
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
| 188 | + | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
| 191 | + | |
| 192 | + | |
192 | 193 | | |
193 | 194 | | |
194 | 195 | | |
| |||
0 commit comments