|
@@ -51,6 +51,8 @@ function CollapsibleComponent(props: Props) {
|
51
|
51
|
const { paddedProps, headerColors } = props;
|
52
|
52
|
const Comp = props.component;
|
53
|
53
|
const theme = useTheme();
|
|
54
|
+ console.log(theme.dark);
|
|
55
|
+
|
54
|
56
|
const { setCollapsible } = useCollapsible();
|
55
|
57
|
|
56
|
58
|
const collapsible = useCollapsibleHeader({
|
|
@@ -58,6 +60,10 @@ function CollapsibleComponent(props: Props) {
|
58
|
60
|
collapsedColor: headerColors ? headerColors : theme.colors.surface,
|
59
|
61
|
useNativeDriver: true,
|
60
|
62
|
},
|
|
63
|
+
|
|
64
|
+ navigationOptions: {
|
|
65
|
+ headerStyle: { backgroundColor: theme.colors.surface },
|
|
66
|
+ },
|
61
|
67
|
});
|
62
|
68
|
|
63
|
69
|
useFocusEffect(
|