Browse Source

Allows override of DefaultSplashLayout by child class (#4084)

This is mentionned in https://github.com/wix/react-native-navigation/issues/3905
Hugo Dozois 6 years ago
parent
commit
f8a8aa0718

+ 1
- 1
lib/android/app/src/main/java/com/reactnativenavigation/NavigationActivity.java View File

124
         navigator.destroyViews();
124
         navigator.destroyViews();
125
     }
125
     }
126
 
126
 
127
-    private void addDefaultSplashLayout() {
127
+    protected void addDefaultSplashLayout() {
128
         View view = new View(this);
128
         View view = new View(this);
129
         view.setBackgroundColor(Color.WHITE);
129
         view.setBackgroundColor(Color.WHITE);
130
         setContentView(view);
130
         setContentView(view);