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:
parent
84ff8a110b
commit
79e462efc2
|
@ -1,5 +1,6 @@
|
||||||
package com.massive
|
package com.massive
|
||||||
|
|
||||||
|
import android.os.Bundle
|
||||||
import com.facebook.react.ReactActivity
|
import com.facebook.react.ReactActivity
|
||||||
import com.facebook.react.ReactActivityDelegate
|
import com.facebook.react.ReactActivityDelegate
|
||||||
import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.fabricEnabled
|
import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.fabricEnabled
|
||||||
|
@ -25,4 +26,8 @@ class MainActivity : ReactActivity() {
|
||||||
fabricEnabled
|
fabricEnabled
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override fun onCreate(savedInstanceState: Bundle?) {
|
||||||
|
super.onCreate(null)
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user