mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-05-24 11:44:39 +00:00
let > const
This commit is contained in:
@@ -423,7 +423,7 @@ export default function extractColor(color) {
|
||||
const b = parsedColor[2];
|
||||
const a = parsedColor[3];
|
||||
|
||||
let int32Color =
|
||||
const int32Color =
|
||||
((a === undefined ? 0xff000000 : Math.round(a * 255) << 24) |
|
||||
(Math.round(r * 255) << 16) |
|
||||
(Math.round(g * 255) << 8) |
|
||||
|
||||
Reference in New Issue
Block a user