|
@@ -7,6 +7,7 @@ import com.reactnativenavigation.R;
|
7
|
7
|
import com.reactnativenavigation.adapters.ViewPagerAdapter;
|
8
|
8
|
import com.reactnativenavigation.core.RctManager;
|
9
|
9
|
import com.reactnativenavigation.core.objects.Screen;
|
|
10
|
+import com.reactnativenavigation.utils.StyleHelper;
|
10
|
11
|
import com.reactnativenavigation.views.RnnTabLayout;
|
11
|
12
|
import com.reactnativenavigation.views.RnnToolBar;
|
12
|
13
|
|
|
@@ -68,7 +69,7 @@ public class TabActivity extends BaseReactActivity {
|
68
|
69
|
@Override
|
69
|
70
|
public void push(Screen screen) {
|
70
|
71
|
super.push(screen);
|
71
|
|
- setNavigationStyle(screen);
|
|
72
|
+ StyleHelper.updateStyles(mToolbar, screen);
|
72
|
73
|
mAdapter.push(screen);
|
73
|
74
|
}
|
74
|
75
|
|