Resolve "Categories, detailed view on Press"

This commit is contained in:
Thomas Schleicher 2024-01-05 12:27:56 +00:00
parent b927b0e8a0
commit 412e88d007
8 changed files with 105 additions and 16 deletions

View file

@ -8,7 +8,7 @@ interface BudgetRemainingProps {
}
const BudgetRemaining: React.FC<BudgetRemainingProps> = ({ budget, spent }) => {
const { colors, theme } = useTheme();
const { colors } = useTheme();
const remaining = budget - spent;

View file

@ -1,7 +1,6 @@
import React, { useState } from 'react';
import { View, Text, Button, StyleSheet, TouchableOpacity } from 'react-native';
import CategoryProgressBar from './CategoryProgressBar';
import { useTheme } from '../../app/contexts/ThemeContext';
interface CategoryItem {
name: string;

View file

@ -44,7 +44,7 @@ const Widget: React.FC<WidgetProps> = ({ title, text, children, image }) => { //
},
imageStyle: {
width: '100%',
height: 200,
height: 500,
borderRadius: 5,
marginBottom: 8,
},