add headerBackTitleStyle screen option (#1083)

* add headerBackTitleStyle screen option

since the title is customizable, the back title should too.

* add documentation for `headerBackTitleStyle`

* make absence of headerBackTitle not affect return value

* merge styles so current scene can override

If there's no last scene, return the `headerBackTitleStyle` from the
current scene.
Otherwise return the `headerTitleStyle` from the last scene, and the
`headerBackTitleStyle` from the current scene, with the latter having
precedence.

* take headerBackTitleStyle from current scene

also the title style of the last scene is no longer taken into account
This commit is contained in:
Koen Punt
2017-04-28 07:55:15 +02:00
committed by Mike Grabowski
parent 961cf13268
commit c04ea5b492
4 changed files with 10 additions and 2 deletions

View File

@@ -128,6 +128,10 @@ Style object for the header
Style object for the title component
#### `headerBackTitleStyle`
Style object for the back title
#### `headerTintColor`
Tint color for the header