|
@@ -10,7 +10,7 @@ import {
|
10
|
10
|
RctActivity
|
11
|
11
|
} from 'react-native-navigation';
|
12
|
12
|
|
13
|
|
-var resolveAssetSource = require('resolveAssetSource');
|
|
13
|
+const resolveAssetSource = require('react-native/Libraries/Image/resolveAssetSource');
|
14
|
14
|
|
15
|
15
|
function startSingleScreenApp(params) {
|
16
|
16
|
let screen = params.screen;
|
|
@@ -31,8 +31,8 @@ function startTabBasedApp(params) {
|
31
|
31
|
return;
|
32
|
32
|
}
|
33
|
33
|
|
34
|
|
- params.tabs.forEach(function (tab, idx) {
|
35
|
|
- addNavigatorParams(tab, null, idx)
|
|
34
|
+ params.tabs.forEach(function(tab, idx) {
|
|
35
|
+ addNavigatorParams(tab, null, idx);
|
36
|
36
|
addNavigatorButtons(tab);
|
37
|
37
|
addNavigationStyleParams(tab);
|
38
|
38
|
});
|
|
@@ -41,7 +41,7 @@ function startTabBasedApp(params) {
|
41
|
41
|
}
|
42
|
42
|
|
43
|
43
|
function navigatorPush(navigator, params) {
|
44
|
|
- addNavigatorParams(params, navigator)
|
|
44
|
+ addNavigatorParams(params, navigator);
|
45
|
45
|
addNavigatorButtons(params);
|
46
|
46
|
addNavigationStyleParams(params);
|
47
|
47
|
RctActivity.navigatorPush(params);
|