fix login screen header color
This commit is contained in:
parent
19f6dd3cf0
commit
14365a92a4
2 changed files with 3 additions and 4 deletions
2
App.tsx
2
App.tsx
|
@ -59,8 +59,6 @@ LogBox.ignoreLogs([
|
|||
'Cannot update a component from inside the function body of a different component',
|
||||
]);
|
||||
|
||||
// TODO move preferences in smaller contextes for improved performances
|
||||
|
||||
type StateType = {
|
||||
isLoading: boolean;
|
||||
initialPreferences: {
|
||||
|
|
|
@ -60,9 +60,10 @@ function CollapsibleComponent(props: Props) {
|
|||
collapsedColor: headerColors ? headerColors : theme.colors.surface,
|
||||
useNativeDriver: true,
|
||||
},
|
||||
|
||||
navigationOptions: {
|
||||
headerStyle: { backgroundColor: theme.colors.surface },
|
||||
headerStyle: {
|
||||
backgroundColor: headerColors ? headerColors : theme.colors.surface,
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue