diff --git a/android/app/src/main/java/com/jellyfinaudioplayer/MainActivity.kt b/android/app/src/main/java/com/jellyfinaudioplayer/MainActivity.kt index f044565f..e20a9f96 100644 --- a/android/app/src/main/java/com/jellyfinaudioplayer/MainActivity.kt +++ b/android/app/src/main/java/com/jellyfinaudioplayer/MainActivity.kt @@ -5,6 +5,8 @@ import com.facebook.react.ReactActivityDelegate import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.fabricEnabled import com.facebook.react.defaults.DefaultReactActivityDelegate +import android.os.Bundle; + class MainActivity : ReactActivity() { /** @@ -19,4 +21,8 @@ class MainActivity : ReactActivity() { */ override fun createReactActivityDelegate(): ReactActivityDelegate = DefaultReactActivityDelegate(this, mainComponentName, fabricEnabled) + + override fun onCreate(savedInstanceState: Bundle?) { + super.onCreate(null) + } }