fix: Fixed issue where Android app would crash on screen rotation (#2905)
This commit is contained in:
committed by
GitHub
parent
ddaf52d57e
commit
9c1bb35355
@@ -37,13 +37,6 @@ public class MainActivity extends ReactActivity {
|
|||||||
DefaultNewArchitectureEntryPoint.getFabricEnabled());
|
DefaultNewArchitectureEntryPoint.getFabricEnabled());
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fix for Dark theme subscriptions https://github.com/facebook/react-native/issues/28823#issuecomment-642032481
|
|
||||||
@Override
|
|
||||||
public void onConfigurationChanged(Configuration newConfig) {
|
|
||||||
super.onConfigurationChanged(newConfig);
|
|
||||||
getReactInstanceManager().onConfigurationChanged(this, newConfig);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
On back button press, background app instead of quitting it
|
On back button press, background app instead of quitting it
|
||||||
https://github.com/facebook/react-native/issues/13775
|
https://github.com/facebook/react-native/issues/13775
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"version": "3.197.2",
|
"version": "3.197.2",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"main": "dist/app.js",
|
"main": "dist/app.js",
|
||||||
"author": "Standard Notes",
|
"author": "Standard Notes.",
|
||||||
"private": true,
|
"private": true,
|
||||||
"files": [
|
"files": [
|
||||||
"dist"
|
"dist"
|
||||||
|
|||||||
Reference in New Issue
Block a user