Browse Source

Set missing TopBar background color

fixes #2166
Guy Carmeli 7 years ago
parent
commit
aa031e7840

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

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