|
@@ -39,11 +39,21 @@ function navigatorPush(navigator, params) {
|
39
|
39
|
|
40
|
40
|
params.screenId = params.screen;
|
41
|
41
|
let adapted = adaptNavigationStyleToScreenStyle(params);
|
42
|
|
- adapted = adaptNavigationParams(params);
|
|
42
|
+ adapted = adaptNavigationParams(adapted);
|
43
|
43
|
|
44
|
44
|
newPlatformSpecific.push(adapted);
|
45
|
45
|
}
|
46
|
46
|
|
|
47
|
+function navigatorPop(navigator, params) {
|
|
48
|
+ addNavigatorParams(params, navigator);
|
|
49
|
+
|
|
50
|
+ params.screenId = params.screen;
|
|
51
|
+ let adapted = adaptNavigationStyleToScreenStyle(params);
|
|
52
|
+ adapted = adaptNavigationParams(adapted);
|
|
53
|
+
|
|
54
|
+ newPlatformSpecific.pop(adapted);
|
|
55
|
+}
|
|
56
|
+
|
47
|
57
|
function adaptNavigationStyleToScreenStyle(screen) {
|
48
|
58
|
const navigatorStyle = screen.navigatorStyle;
|
49
|
59
|
if (!navigatorStyle) {
|
|
@@ -118,11 +128,6 @@ function navigatorSetButtons(navigator, navigatorEventID, params) {
|
118
|
128
|
//RctActivity.setNavigatorButtons(params);
|
119
|
129
|
}
|
120
|
130
|
|
121
|
|
-function navigatorPop(navigator, params) {
|
122
|
|
- //addNavigatorParams(params, navigator);
|
123
|
|
- //RctActivity.navigatorPop(params);
|
124
|
|
-}
|
125
|
|
-
|
126
|
131
|
function navigatorPopToRoot(navigator, params) {
|
127
|
132
|
//RctActivity.navigatorPopToRoot({
|
128
|
133
|
// navigatorID: navigator.navigatorID,
|