Browse Source

Set LeftButton color from screen (#810)

Guy Carmeli 8 years ago
parent
commit
c5d5d4d35b

+ 1
- 0
android/app/src/main/java/com/reactnativenavigation/screens/Screen.java View File

189
 
189
 
190
     public void setTitleBarLeftButton(String navigatorEventId, LeftButtonOnClickListener backButtonListener,
190
     public void setTitleBarLeftButton(String navigatorEventId, LeftButtonOnClickListener backButtonListener,
191
                                       TitleBarLeftButtonParams titleBarLeftButtonParams) {
191
                                       TitleBarLeftButtonParams titleBarLeftButtonParams) {
192
+        titleBarLeftButtonParams.setColorFromScreenStyle(styleParams.titleBarButtonColor);
192
         topBar.setTitleBarLeftButton(navigatorEventId,
193
         topBar.setTitleBarLeftButton(navigatorEventId,
193
                 backButtonListener,
194
                 backButtonListener,
194
                 titleBarLeftButtonParams,
195
                 titleBarLeftButtonParams,