diff --git a/android/app/src/main/java/io/cozy/flagship/mobile/MainActivity.java b/android/app/src/main/java/io/cozy/flagship/mobile/MainActivity.java index 2782fb279..00d56e03f 100644 --- a/android/app/src/main/java/io/cozy/flagship/mobile/MainActivity.java +++ b/android/app/src/main/java/io/cozy/flagship/mobile/MainActivity.java @@ -21,7 +21,7 @@ protected String getMainComponentName() { protected void onCreate(Bundle savedInstanceState) { boolean isDarkMode = true; ImmersiveBars.changeBarColors(this, isDarkMode); - super.onCreate(savedInstanceState); + super.onCreate(null); RNBootSplash.init(R.drawable.bootsplash, MainActivity.this); } }