Bladeren bron

Allows override of DefaultSplashLayout by child class (#4084)

This is mentionned in https://github.com/wix/react-native-navigation/issues/3905
Hugo Dozois 6 jaren geleden
bovenliggende
commit
f8a8aa0718
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1
    1
      lib/android/app/src/main/java/com/reactnativenavigation/NavigationActivity.java

+ 1
- 1
lib/android/app/src/main/java/com/reactnativenavigation/NavigationActivity.java Bestand weergeven

@@ -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);