Guy Carmeli před 5 roky
rodič
revize
4df0185d35

+ 1
- 1
lib/android/app/src/test/java/com/reactnativenavigation/viewcontrollers/BottomTabPresenterTest.java Zobrazit soubor

@@ -106,7 +106,7 @@ public class BottomTabPresenterTest extends BaseTest {
106 106
         Options options = new Options();
107 107
         options.bottomTabOptions.iconColor = new DontApplyColour();
108 108
         options.bottomTabOptions.selectedIconColor = new DontApplyColour();
109
-        uut.mergeChildOptions(options, (Component) child3.getView());
109
+        uut.mergeChildOptions(options, child3);
110 110
         verify(bottomTabs, times(0)).setIconActiveColor(anyInt(), anyInt());
111 111
         verify(bottomTabs, times(0)).setIconInactiveColor(anyInt(), anyInt());
112 112
     }