|
@@ -12,6 +12,7 @@ import java.util.List;
|
12
|
12
|
|
13
|
13
|
public class ScreenParamsParser extends Parser {
|
14
|
14
|
private static final String KEY_TITLE = "title";
|
|
15
|
+ private static final String KEY_SUBTITLE = "subtitle";
|
15
|
16
|
private static final String KEY_SCREEN_ID = "screenId";
|
16
|
17
|
private static final String KEY_NAVIGATION_PARAMS = "navigationParams";
|
17
|
18
|
private static final String STYLE_PARAMS = "styleParams";
|
|
@@ -30,6 +31,7 @@ public class ScreenParamsParser extends Parser {
|
30
|
31
|
result.styleParams = new StyleParamsParser(params.getBundle(STYLE_PARAMS)).parse();
|
31
|
32
|
|
32
|
33
|
result.title = params.getString(KEY_TITLE);
|
|
34
|
+ result.subtitle = params.getString(KEY_SUBTITLE);
|
33
|
35
|
result.rightButtons = ButtonParser.parseRightButton(params);
|
34
|
36
|
result.overrideBackPressInJs = params.getBoolean(OVERRIDE_BACK_PRESS, false);
|
35
|
37
|
result.leftButton = ButtonParser.parseLeftButton(params);
|