@fto-consult/expo-ui 6.40.3 → 6.40.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/metro.config.js +0 -4
- package/package.json +1 -1
- package/src/navigation/index.js +1 -1
package/metro.config.js
CHANGED
@@ -1,12 +1,8 @@
|
|
1
1
|
const path = require("path");
|
2
2
|
const fs = require("fs");
|
3
|
-
const {writeFile,isObj,getDependencyVersion} = require("./electron/utils");
|
4
3
|
const { getDefaultConfig } = require('expo/metro-config');
|
5
4
|
module.exports = function(opts){
|
6
5
|
const isDev = 'development' === process.env.NODE_ENV;
|
7
|
-
//const nodeModulePath = `${process.cwd()}/node_modules`;
|
8
|
-
//const mConfigPath = fs.existsSync(`${nodeModulePath}/@expo/metro-config`) && `${nodeModulePath}/@expo/metro-config` || "@expo/metro-config";
|
9
|
-
//const { getDefaultConfig } = require(`${mConfigPath}`);
|
10
6
|
opts = opts && typeof opts =='object'? opts : {};
|
11
7
|
let {assetExts,sourceExts} = opts;
|
12
8
|
assetExts = Array.isArray(assetExts)? assetExts: [];
|
package/package.json
CHANGED
package/src/navigation/index.js
CHANGED
@@ -36,7 +36,7 @@ export default function NavigationComponent (props){
|
|
36
36
|
header : ()=> null,
|
37
37
|
headerStyle: { backgroundColor: theme.colors.primary},
|
38
38
|
presentation : isAndroid() || isWeb()? "modal":"default",
|
39
|
-
animationEnabled :
|
39
|
+
animationEnabled : false,
|
40
40
|
...Object.assign({},screenOptions)
|
41
41
|
}
|
42
42
|
const cardStyle = { backgroundColor: 'transparent' };
|