|
|
@@ -8,11 +8,11 @@ public class _Screen {
|
|
8
|
8
|
//
|
|
9
|
9
|
// private static final String KEY_TITLE = "title";
|
|
10
|
10
|
// private static final String KEY_SCREEN = "screen";
|
|
11
|
|
-// private static final String KEY_LABEL = "label";
|
|
|
11
|
+// private static final String KEY_LABEL = "tabLabel";
|
|
12
|
12
|
// public static final String KEY_SCREEN_INSTANCE_ID = "screenInstanceID";
|
|
13
|
13
|
// public static final String KEY_NAVIGATOR_ID = "navigatorID";
|
|
14
|
14
|
// public static final String KEY_NAVIGATOR_EVENT_ID = "navigatorEventID";
|
|
15
|
|
-// private static final String KEY_ICON = "icon";
|
|
|
15
|
+// private static final String KEY_ICON = "tabIcon";
|
|
16
|
16
|
// private static final String KEY_NAVIGATOR_BUTTONS = "navigatorButtons";
|
|
17
|
17
|
// private static final String KEY_RIGHT_BUTTONS = "rightButtons";
|
|
18
|
18
|
// private static final String KEY_TOOL_BAR_STYLE = "navigatorStyle";
|
|
|
@@ -31,12 +31,12 @@ public class _Screen {
|
|
31
|
31
|
// private static final String KEY_PROPS = "passProps";
|
|
32
|
32
|
//
|
|
33
|
33
|
// public String title;
|
|
34
|
|
-// public final String label;
|
|
|
34
|
+// public final String tabLabel;
|
|
35
|
35
|
// public final String screenId;
|
|
36
|
36
|
// public final String screenInstanceId;
|
|
37
|
37
|
// public final String navigatorId;
|
|
38
|
38
|
// public final String navigatorEventId;
|
|
39
|
|
-// public final String icon;
|
|
|
39
|
+// public final String tabIcon;
|
|
40
|
40
|
// public ArrayList<_Button> buttons;
|
|
41
|
41
|
// public final boolean backButtonHidden;
|
|
42
|
42
|
// public boolean bottomTabsHiddenOnScroll;
|
|
|
@@ -61,12 +61,12 @@ public class _Screen {
|
|
61
|
61
|
//
|
|
62
|
62
|
// public _Screen(ReadableMap screen) {
|
|
63
|
63
|
// title = getString(screen, KEY_TITLE);
|
|
64
|
|
-// label = getString(screen, KEY_LABEL);
|
|
|
64
|
+// tabLabel = getString(screen, KEY_LABEL);
|
|
65
|
65
|
// screenId = getString(screen, KEY_SCREEN);
|
|
66
|
66
|
// screenInstanceId = getString(screen, KEY_SCREEN_INSTANCE_ID);
|
|
67
|
67
|
// navigatorId = getString(screen, KEY_NAVIGATOR_ID);
|
|
68
|
68
|
// navigatorEventId = getString(screen, KEY_NAVIGATOR_EVENT_ID);
|
|
69
|
|
-// icon = getString(screen, KEY_ICON);
|
|
|
69
|
+// tabIcon = getString(screen, KEY_ICON);
|
|
70
|
70
|
// if(screen.hasKey(KEY_PROPS)) {
|
|
71
|
71
|
// passedProps = ((ReadableNativeMap) screen.getMap(KEY_PROPS)).toHashMap();
|
|
72
|
72
|
// }
|
|
|
@@ -104,7 +104,7 @@ public class _Screen {
|
|
104
|
104
|
// }
|
|
105
|
105
|
//
|
|
106
|
106
|
// public Drawable getIcon(Context ctx) {
|
|
107
|
|
-// return ImageLoader.getIcon(ctx, icon);
|
|
|
107
|
+// return ImageLoader.getIcon(ctx, tabIcon);
|
|
108
|
108
|
// }
|
|
109
|
109
|
//
|
|
110
|
110
|
// public void setToolbarStyle(ReadableMap screen) {
|