liinnjohansson / todays-lunch

0 stars 1 forks source link

header with go back is shown in MenuScreen #63

Closed liinnjohansson closed 3 years ago

liinnjohansson commented 3 years ago

close #62

Header for MenuScreen is configured in RootStackNavigator. Using theme in the same way as in TabBistroMapNavigator. I tried to change the font size on the title to the same as the titles in the tabnavigator, but it just would not respond to the options (tried both in the stack navigator itself and in the stack screen). It is possible however to set the size on the titles in TabNavigator to bigger size. Is that something we might want to do, so they're all the same size?

According to the design all the header titles should be white. Maybe it will get set to white if we wrap the app in a PaperProvider, so it uses the right theme for light and dark mode from RN Paper?

header1