Browse Source

Fix flickering when calling setStyle with topBarBorderColor multiple times

Guy Carmeli 7 years ago
parent
commit
0fe0079992

+ 0
- 1
android/app/src/main/java/com/reactnativenavigation/views/TopBarBorder.java View File

@@ -57,7 +57,6 @@ class TopBarBorder extends ShapeDrawable {
57 57
 
58 58
     @Override
59 59
     protected void onDraw(Shape shape, Canvas canvas, Paint paint) {
60
-        super.onDraw(shape, canvas, paint);
61 60
         createBorder(canvas);
62 61
         paint.setColor(backgroundColor.getColor(Color.WHITE));
63 62
         canvas.drawPath(border.path, pathPaint);