[android] Fix double rendering of nested svg

This commit is contained in:
Mikael Sand
2019-02-03 04:06:42 +02:00
parent 8c806cdc5f
commit 9de1d186a3
@@ -85,6 +85,9 @@ public class SvgView extends ReactViewGroup implements ReactCompoundView, ReactC
@Override
protected void onDraw(Canvas canvas) {
if (getParent() instanceof VirtualView) {
return;
}
super.onDraw(canvas);
if (mBitmap == null) {
mBitmap = drawOutput();