Преглед на файлове

fix android rooBackgroundImage support (#3089)

Yee Wong преди 6 години
родител
ревизия
cd80eca782
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1
    0
      android/app/src/main/java/com/reactnativenavigation/params/parsers/StyleParamsParser.java

+ 1
- 0
android/app/src/main/java/com/reactnativenavigation/params/parsers/StyleParamsParser.java Целия файл

@@ -83,6 +83,7 @@ public class StyleParamsParser {
83 83
         result.topTabsHeight = getInt("topTabsHeight", getDefaultTopTabsHeight());
84 84
 
85 85
         result.screenBackgroundColor = getColor("screenBackgroundColor", getDefaultScreenBackgroundColor());
86
+        result.rootBackgroundImageName = params.getString("rootBackgroundImageName");
86 87
 
87 88
         result.bottomTabsInitialIndex = getInt("initialTabIndex", 0);
88 89
         result.bottomTabsHidden = getBoolean("bottomTabsHidden", getDefaultBottomTabsHidden());