fix login screen header color

這個提交存在於:
Arnaud Vergnet 2021-05-22 14:06:27 +02:00
父節點 19f6dd3cf0
當前提交 14365a92a4
共有 2 個檔案被更改,包括 3 行新增4 行删除

查看文件

@ -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,
},
},
});