finishing up

This commit is contained in:
Walcher 2024-01-05 14:52:20 +01:00
parent 8b68a7b7b0
commit c0a70a0ed5
2 changed files with 5 additions and 22 deletions

View file

@ -13,6 +13,7 @@ interface WidgetProps {
const Widget: React.FC<WidgetProps> = ({ title, text, children, image, backgroundColor }) => {
const { colors } = useTheme();
const actualBackgroundColor = backgroundColor ? backgroundColor : colors.widgetBackgroundColor;
const styles = StyleSheet.create({