geforkt von vergnet/application-amicale
fix header darkmode not changing
Dieser Commit ist enthalten in:
Ursprung
acbbd2d27d
Commit
19f6dd3cf0
1 geänderte Dateien mit 6 neuen und 0 gelöschten Zeilen
|
@ -51,6 +51,8 @@ function CollapsibleComponent(props: Props) {
|
|||
const { paddedProps, headerColors } = props;
|
||||
const Comp = props.component;
|
||||
const theme = useTheme();
|
||||
console.log(theme.dark);
|
||||
|
||||
const { setCollapsible } = useCollapsible();
|
||||
|
||||
const collapsible = useCollapsibleHeader({
|
||||
|
@ -58,6 +60,10 @@ function CollapsibleComponent(props: Props) {
|
|||
collapsedColor: headerColors ? headerColors : theme.colors.surface,
|
||||
useNativeDriver: true,
|
||||
},
|
||||
|
||||
navigationOptions: {
|
||||
headerStyle: { backgroundColor: theme.colors.surface },
|
||||
},
|
||||
});
|
||||
|
||||
useFocusEffect(
|
||||
|
|
Laden …
In neuem Issue referenzieren