Przeglądaj źródła

Allows override of DefaultSplashLayout by child class (#4084)

This is mentionned in https://github.com/wix/react-native-navigation/issues/3905
Hugo Dozois 6 lat temu
rodzic
commit
f8a8aa0718

+ 1
- 1
lib/android/app/src/main/java/com/reactnativenavigation/NavigationActivity.java Wyświetl plik

@@ -124,7 +124,7 @@ public class NavigationActivity extends AppCompatActivity implements DefaultHard
124 124
         navigator.destroyViews();
125 125
     }
126 126
 
127
-    private void addDefaultSplashLayout() {
127
+    protected void addDefaultSplashLayout() {
128 128
         View view = new View(this);
129 129
         view.setBackgroundColor(Color.WHITE);
130 130
         setContentView(view);