Resolve "Categories, detailed view on Press"
This commit is contained in:
parent
b927b0e8a0
commit
412e88d007
8 changed files with 105 additions and 16 deletions
|
|
@ -8,7 +8,7 @@ interface BudgetRemainingProps {
|
|||
}
|
||||
|
||||
const BudgetRemaining: React.FC<BudgetRemainingProps> = ({ budget, spent }) => {
|
||||
const { colors, theme } = useTheme();
|
||||
const { colors } = useTheme();
|
||||
|
||||
const remaining = budget - spent;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ const Widget: React.FC<WidgetProps> = ({ title, text, children, image }) => { //
|
|||
},
|
||||
imageStyle: {
|
||||
width: '100%',
|
||||
height: 200,
|
||||
height: 500,
|
||||
borderRadius: 5,
|
||||
marginBottom: 8,
|
||||
},
|
||||
|
|
|
|||
Reference in a new issue