@@ -2,7 +2,7 @@ import React from 'react';
22import { observable , action } from 'mobx' ;
33import * as ActionConst from './ActionConst' ;
44import { OnEnter , OnExit , assert } from './Util' ;
5- import { View , Image , Animated , Easing , Platform } from 'react-native' ;
5+ import { Image , Animated , Easing , Platform } from 'react-native' ;
66import { TabNavigator , DrawerNavigator , StackNavigator , NavigationActions , TabBarTop , TabBarBottom } from 'react-navigation' ;
77import { LeftButton , RightButton , BackButton } from './NavBar' ;
88import LightboxNavigator from './LightboxNavigator' ;
@@ -469,7 +469,7 @@ class NavigationStore {
469469 }
470470 // console.log(`KEY ${key} PATH ${path} DRAWER ${drawer} TABS ${tabs} WRAP ${wrap}`, JSON.stringify(commonProps));
471471 const screen = {
472- screen : createWrapper ( component , wrapBy , this ) || this . processScene ( child , commonProps , clones ) || ( lightbox && View ) ,
472+ screen : createWrapper ( component , wrapBy , this ) || this . processScene ( child , commonProps , clones ) || ( lightbox && ( ( ) => null ) ) ,
473473 navigationOptions : createNavigationOptions ( { ...commonProps , hideNavBar : parentProps . hideNavBar , ...getProperties ( component ) , ...child . props , init, component } ) ,
474474 } ;
475475
0 commit comments