Fix app crashing when you change system theme

More specifically, this happens when you restore an
activity (not sure exactly when this happens).
This commit is contained in:
Brandon Presley 2023-11-13 14:07:45 +13:00
parent 84ff8a110b
commit 79e462efc2
1 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,6 @@
package com.massive
import android.os.Bundle
import com.facebook.react.ReactActivity
import com.facebook.react.ReactActivityDelegate
import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.fabricEnabled
@ -25,4 +26,8 @@ class MainActivity : ReactActivity() {
fabricEnabled
)
}
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(null)
}
}