mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-06 00:12:21 +00:00
[android] Fix handling of missing width and height when using flex
This commit is contained in:
@@ -184,6 +184,9 @@ class PropHelper {
|
||||
https://drafts.csswg.org/css-fonts-3/#propdef-font-size
|
||||
https://drafts.csswg.org/css2/fonts.html#propdef-font-size
|
||||
*/
|
||||
if (length == null) {
|
||||
return offset;
|
||||
}
|
||||
SVGLengthUnitType unitType = length.unit;
|
||||
double value = length.value;
|
||||
double unit = 1;
|
||||
|
||||
Reference in New Issue
Block a user