From 5cada1cd13b6b7c593bd2f9a7dc94c58fdcf07f6 Mon Sep 17 00:00:00 2001 From: nicolasburtey Date: Sun, 28 Apr 2024 19:46:35 -0600 Subject: [PATCH] fix: crash when app is back from sleep (#3230) Co-authored-by: Nicolas Burtey --- android/app/src/main/java/com/galoyapp/MainActivity.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/android/app/src/main/java/com/galoyapp/MainActivity.kt b/android/app/src/main/java/com/galoyapp/MainActivity.kt index 707be478f2..8fbd58238c 100644 --- a/android/app/src/main/java/com/galoyapp/MainActivity.kt +++ b/android/app/src/main/java/com/galoyapp/MainActivity.kt @@ -9,7 +9,6 @@ import android.os.Bundle import com.zoontek.rnbootsplash.RNBootSplash class MainActivity : ReactActivity() { - /** * Returns the name of the main component registered from JavaScript. This is used to schedule * rendering of the component. @@ -25,6 +24,6 @@ class MainActivity : ReactActivity() { override fun onCreate(savedInstanceState: Bundle?) { RNBootSplash.init(this, R.style.BootTheme) // ⬅️ initialize the splash screen - super.onCreate(savedInstanceState) // super.onCreate(null) with react-native-screens + super.onCreate(null) } } \ No newline at end of file